home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / l / lsd_docs_disks / lsddoc'sdisk61.dms / lsddoc'sdisk61.adf / DosMan.txt.001 / DosMan.txt.001
Text File  |  1992-10-23  |  153KB  |  4,489 lines

  1.  
  2.  
  3.  
  4.     The Full Manual To The Amiga`s DOS Commands
  5.  
  6.  
  7.             AddBuffers(V1.3,2.x,3.x in C:)
  8.  
  9. PaRt OnE
  10.  
  11.             NAME 
  12.  
  13.             AddBuffers - Increase the sector cache for system 
  14.         disk drives.
  15.  
  16.             SYNOPSIS
  17.  
  18.             AddBuffers DRIVE/A BUFFERS/A D2 B2 D3 B3 D4 B4
  19.  
  20.             DESCRIPTION
  21.  
  22.             This command increases the number of disk buffers 
  23.         used by the system for disk drive access. By increasing 
  24.         the number of buffers, you can reduce disk access time at 
  25.         the cost of losing memory to the sector cache (exactly 
  26.         512 kilo-bytes per buffer). The buffers specified are 
  27.         used for a specific drive, and do not affect the 
  28.         performance of the other drives in the system.
  29.  
  30.             Commodore recommends not using more than 25-30 
  31.         buffers with the standard filesystem, because more than 
  32.         this does not improve system performance by much.  With 
  33.         the new FastFileSystem (and a hard drive), more buffers 
  34.         may increase performance, so more than 30 may be used to 
  35.         good effect if you have the memory.
  36.  
  37.             Starting with version 1.3 of AddBuffers allows you to 
  38.         set buffers for up to four disk drives with a single 
  39.         command line.
  40.  
  41.             The default number of buffers are 5 for floppy and 30 
  42.         for hard drives.
  43.  
  44.             Those formatting using the Fast File System (2.x and 
  45.         above) will always benefit from more disk buffers. More 
  46.         likely than not, the buffers are allocated during the 
  47.         partitioning, and it is stored in the Rigid Disk Blocks 
  48.         (RDB).
  49.  
  50.             With buffer space more information will be read from 
  51.         the disk into memory, thereby making disk searches and 
  52.         transfers much quicker. So, you are sacrificing memory 
  53.         for programs in exchange for quicker disk access.
  54.  
  55.  
  56.             For 2.x and 3.x ONLY: You can use this command to 
  57.         find out how many buffers are assigned to a drive. You 
  58.         can also subtract buffers to free up some memory.
  59.  
  60.  
  61.  
  62.             EXAMPLE
  63.           1. To add 15 buffers to the sector cache for drive df0 
  64.         do:
  65.  
  66.              AddBuffers DF0: 15
  67.  
  68.           2. To add 10 more buffers to df0:, and 20 to hard drive 
  69.         dh0:
  70.  
  71.              AddBuffers DF0: 10 dh0: 20
  72.  
  73.  
  74.  
  75.            For 2.x and 3.x ONLY:
  76.           3. To subtract 10 buffers from df0:, and 20 to hard 
  77.         drive dh0:
  78.  
  79.              AddBuffers DF0: -10 dh0: -20
  80.  
  81.           4. To Return the numbers of buffers assigned to df0:
  82.  
  83.              AddBuffers DF0:
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.         AddDataTypes (3.x Only in C:)
  91.  
  92.  
  93.     NAME
  94.             AddDataTypes - Adds additional data types after 
  95.         booting.
  96.  
  97.     SYNOPSIS
  98.         AddDataTypes {files} [Quiet] [Refresh]
  99.  
  100.     DESCRIPTION
  101.             This command is used to support the object oriented 
  102.         Data Type process used by MultiView. All data files that 
  103.         are processed by multiview are passed to system-standard 
  104.         libraries for that kind of data (for instance, a .gif is 
  105.         sent to a system-standard library that is coded for 
  106.         .gif). In order to be passed to a system-standard library 
  107.         (all of which are located in L: directory).  If a library 
  108.         is added after boot-time, it can be used immediatly with 
  109.         the help of this command. This save you the hassle from 
  110.         having to reboot after adding new datatypes.
  111.  
  112.     EXAMPLES
  113.         
  114.             1. To add a gif displayer for multiview
  115.  
  116.             AddDataTypes sys:Devs/Datatypes/GIF 
  117.  
  118.             2. To add a gif datatype without printing any output 
  119.         to the screen (useful in writing scripts)
  120.  
  121.             AddDataTypes sys:Devs/Datatypes/GIF Quiet    
  122.  
  123.             3. To scan the DEVS:DataTypes for new or updated 
  124.         entries
  125.     
  126.             AddDataTypes AddDataTypes Refresh
  127.  
  128.  
  129.  
  130.             
  131.             Alias (1.x,2.x,3.x Internal Command)
  132.  
  133.     NAME
  134.             Alias - Create short names for longer command 
  135.         strings.
  136.  
  137.     SYNOPSIS
  138.         Alias [alias [string] ]
  139.  
  140.     DESCRIPTION
  141.             This command lets you make short names (aliases) for 
  142.         longer command strings. When a word is typed on the CLI, 
  143.         AmigaDOS will subsitute a longer string for it. This 
  144.         longer string may also contain arguments as well as 
  145.         commands. It can also display a list of alias 
  146.         assignments.
  147.  
  148.             For an alias to become global it MUST be entered in 
  149.         the s:shell-startup script. Otherwise, it can only be 
  150.         used by the shell that created it or through the NewCLI 
  151.         command called from the same shell it was created.
  152.  
  153.     EXAMPLES
  154.  
  155.             1. To shorten the Delete command to DL
  156.  
  157.             Alias DL Delete
  158.  
  159.             2. To copy df0: to df1: using cop
  160.  
  161.             Alias cop Sys:System/Diskcopy df0: to df1:
  162.  
  163.             3. To copy an entire directory (empty or not)
  164.  
  165.             Alias cp copy [] ALL
  166.             (When you type  cp directory 
  167.                 it gets expanded to:
  168.                  copy directory All
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.                     Ask(V1.3 in C:) (v 2.x & 3.x internal)
  176.  
  177.  
  178.  
  179.      NAME
  180.           Ask - Query user interactively.
  181.  
  182.      SYNOPSIS
  183.           Ask Prompt WARN OK TIMEOUT
  184.  
  185.      DESCRIPTION
  186.             Ask is a program that allows you to get a simple form 
  187.         of input from a user.  It is most useful in Execute 
  188.         scripts.
  189.  
  190.             You may specify a Prompt string, which will be 
  191.         displayed to the user, and you may also specify a string 
  192.         to match on for both YES and NO responses, as well as 
  193.         specifying a time limit on the users response in seconds.  
  194.         All of these strings have default values, the default for 
  195.         the WARN string is 'Y', the default for the OK string is 
  196.         'N', and the default for the Prompt is a single question 
  197.         mark.
  198.  
  199.             If the user enters a string which matches the WARN 
  200.         string, Ask will exit with a return code that will cause 
  201.         an IF WARN statement to succeed.  If the user enters a 
  202.         string which matches the OK string, exceeds the value 
  203.         given in TIMEOUT, or simply hits RETURN then Ask will 
  204.         exit with a ZERO return, suitable for the ELSE portion of 
  205.         such an IF statement.
  206.  
  207.             More simply: A 'yes' returns a 5. A 'no' returns a 0.
  208.  
  209.             If the user enters a string other than those 
  210.         specified in WARN and OK, then ASK will redisplay the 
  211.         prompt, urging the user to give a better answer.
  212.  
  213.      EXAMPLE
  214.             Here is an example of an Ask command which will 
  215.         return a WARNING if the user types "Amiga", and an OK if 
  216.         the user types "BigBlue", or waits longer than 10 seconds 
  217.         to respond:
  218.  
  219.           Ask "Amiga or BigBlue?" "Amiga" "BigBlue" Timeout 10
  220.           IF WARN  ; typed amiga!
  221.           Echo "Obviously a person of quality"
  222.           ELSE ; typed big blue? or couldn't decide
  223.           Echo "You seem to be misguided"
  224.           ENDIF
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.                  Assign(V1.3, 2.x, 3.x in C:)
  232.  
  233.  
  234.  
  235.      NAME
  236.             Assign - Binds a device name to a directory or file.
  237.  
  238.      SYNOPSIS
  239.         1.3
  240.           Assign Name Dir Etc/... LIST EXISTS REMOVE
  241.     
  242.         2.x/3.x
  243.           Assign Name Dir Etc/... LIST EXISTS DISMOUNT
  244.             DEFER PATH ADD REMOVE VOLS DIRS DEVICES
  245.  
  246.      DESCRIPTION
  247.             Assign causes NAME: to be a synonym for a directory 
  248.         or a pathname.  This is referred to as a "logical" 
  249.         device, since it appears to the Amiga and the user as a 
  250.         device, but is in fact a directory. You can use this as a 
  251.         convenient shorthand to refer to lengthy pathnames, or to 
  252.         refer to a variety of different directories by the same 
  253.         name (just change the assignment when you want the 
  254.         program to change directories).
  255.           
  256.             You can remove assignments by giving only NAME:, or 
  257.         by giving a single minus ('-') as the directory or device 
  258.         name.  There are also specifice keywords to remove 
  259.         assigns which will be covered later. In any case, all 
  260.         assigns are lost when the system is shut off or rebooted.    
  261.  
  262.             In 2.x/3.x you can assign a single device name to 
  263.         many directories by simply listing all of the directories 
  264.         after the device name.
  265.  
  266.             S:, L:, C:, FONTS:, DEVS:, LIBS:, T:, and SYS: are 
  267.         all made during normal startups. All these assigns 
  268.         directly relate with system operation. Therefor, they 
  269.         should not be tampered with for any reason.
  270.  
  271.             If there is already a directory with an assignment, 
  272.         any new assignment will replace it. You cannot, however, 
  273.         assign the same name to a device that already exists. So 
  274.         an assign to device Work: if a disk whose name Work: is 
  275.         already mounted. 
  276.           
  277.  
  278.  
  279.      OPTIONS
  280.           LIST 
  281.             Lists the current assignments. Under 1.3, if you 
  282.         specify a single already assigned name on the command 
  283.         line with LIST, it will be removed from the device list. 
  284.         Under 2.x/ 3.x you can either make or remove assignments 
  285.         along with listing them.
  286.  
  287.           EXISTS
  288.             Takes a logical device name as an argument.  If the 
  289.         name exists, the device name and its assignment are 
  290.         displayed.  If the name does not exist, then the 
  291.         condition flag is set to WARN (return flag 5).  This will 
  292.         cause an IF WARN batch file statement to succeed.
  293.  
  294.           REMOVE
  295.             For 1.3: Takes a logical device name as an argument, 
  296.         and removes it from the device list.  This is useful 
  297.         largely to individuals writing handlers, careless use of 
  298.         this option can easily crash the Amiga. It will not, 
  299.         however free up the memory that was taken up with the 
  300.         assign.
  301.                 
  302.             For 2.x/3.x: It can be used to delete one directory 
  303.         from a list of assigns. Opposite of ADD (see below).
  304.  
  305.           DISMOUNT
  306.             2.X/3.X ONLY: Used exactly like the REMOVE keyword 
  307.         for 1.3 to remove a device from a list of mounted 
  308.         devices.
  309.  
  310.           DEFER
  311.             2.x/3.x Only: Postpones the assign until a command 
  312.         tries to access that device. Defer will not throw out an 
  313.         error if it searches for a directory and it does not 
  314.         exist.
  315.         
  316.  
  317.           PATH
  318.             2.x/3.x Only: This expands on the DEFER keyword. 
  319.         Whereas DEFER eventually binds the assign, PATH keeps the 
  320.         assign non-binding.  Not only will it wait for a command 
  321.         to access that device, but it will reevaluate the assign 
  322.         every other time that device is requested for. (NB: This 
  323.         is very convenient if you are a floppy only user. You 
  324.         will not have to replace the Workbench each time FONTS: 
  325.         is requested. Instead, you can insert different floppy 
  326.         named fonts: each time that device is scanned for.)
  327.  
  328.             PATH will not accept multi directory assigns.
  329.  
  330.           ADD
  331.             2.x/3.x Only: Let's you add new directories to an 
  332.         existing assign.  For instance, if you assign a device 
  333.         that is alread assigned you will lose your old assign. If 
  334.         you use the ADD keyword, you will add the new assign to 
  335.         the old assign.
  336.  
  337.           VOLS
  338.           DIRS
  339.           DEVICES
  340.             2.x/3.x Only: Limits the information that is 
  341.         displayed when you list your assigns. VOLS shows you only 
  342.         which volumes are assigned, DIRS shows you only which 
  343.         directories are assigned. DEVICES shows you only which 
  344.         devices are assigned. If none of these keywords are used 
  345.         then all three kind of information are displayed.
  346.           
  347.      CAUTIONS
  348.             Random or careless assignments of the Amiga's 
  349.         pre-assigned devices can cause mass confusion.
  350.  
  351.             Random or careless use of the REMOVE option can cause 
  352.         a GURU.
  353.  
  354.      SEE ALSO
  355.           Execute
  356.  
  357.      EXAMPLES
  358.   
  359.         1.
  360.              ASSIGN DICTIONARY: df1:usr/lib/dictionary
  361.  
  362.             DICTIONARY: may now be used as a synonym for the 
  363.         complete path df1:usr/lib/dictionary. If a program uses 
  364.         the logical device DICTIONARY: rather than a hardcoded 
  365.         directory name, then changing the DICTIONARY: assignment 
  366.         will change the dictionary that the program will use.
  367.  
  368.             Assign allows a practically infinite number of 
  369.         assignments or deletions to be made on one command line.  
  370.         You may remove an assignment by using a minus '-' sign 
  371.         instead of a logical directory or filename to subtract 
  372.         this assignment from the device list.
  373.  
  374.         2. To return all the assignments made to your system 
  375.         just enter:
  376.  
  377.             Assign
  378.           
  379.         3. 1.3 Only:
  380.  
  381.             To assign POOF: to the disk in DF0:, remove the 
  382.         assignments for PUF: and DUF: and assigns CRUFT: to HD0:.
  383.  
  384.             ASSIGN POOF: DF0: PUF: - DUF: - CRUFT: HD0:
  385.  
  386.  
  387.         4.2.x/3.x Only:
  388.  
  389.           To assign multiple paths to one device:
  390.  
  391.             Assign Music: Work:DeliTracker/Mods Work:OctaMed/Meds 
  392.  
  393.  
  394.           To assign Fonts: to df0:Fonts only when a program tries to
  395.           access Fonts:
  396.  
  397.             Assign Fonts: Df0:Fonts DEFER
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.            Avail(V1.3, 2.x,3.x in C:)
  408.  
  409.  
  410.  
  411.      NAME
  412.           Avail - Report memory statistics.
  413.  
  414.      SYNOPSIS
  415.           1.3
  416.           Avail CHIP/s FAST/s TOTAL/s
  417.  
  418.           2.x/3.x    
  419.           Avail CHIP/s FAST/s TOTAL/s FLUSH/s
  420.  
  421.      DESCRIPTION
  422.             Avail reports on the amount of memory available in 
  423.         the system, its type, how much of each type is in use and 
  424.         is free, and the largest single block of memory of each 
  425.         type (also known as contiguous memory).
  426.           
  427.             This command is useful with shell scripts to 
  428.         determine if there is enough memory available to load a 
  429.         program, file or graphic before you actually perform the 
  430.         load.
  431.  
  432.      OPTIONS
  433.           CHIP 
  434.             Reports the total amount of free chip memory
  435.  
  436.           FAST 
  437.             Reports the total amount of free fast memory
  438.  
  439.           TOTAL
  440.             Reports the total of all free memory, both fast and 
  441.         chip.
  442.  
  443.           FLUSH
  444.             2.x/3.x Only: This option will force all unused 
  445.         devices, libraries and other resources out of the system, 
  446.         which gives the most accurate report of available memory.  
  447.         This will free you as much memory as possible by killing 
  448.         all information in your memory not being used by any 
  449.         program. This is useful to kill off all the resedue of 
  450.         processes that exited but did not give you all your 
  451.         memory back.
  452.  
  453.      EXAMPLES
  454.          1. To get all available system ram:
  455.  
  456.             Avail
  457.  
  458.          2. Show only Fast Memory
  459.  
  460.             Avail Fast
  461.  
  462.  
  463.  
  464.               BackTick (2.x/3.x ONLY) (CLI Function)
  465.  
  466.  
  467.         NAME
  468.  
  469.             BackTick- Allows you to include the text output of 
  470.         one command to be the input of another command.
  471.  
  472.         SYNOPSIS
  473.             SomeCLICommand `AnotherCommand`
  474.  
  475.         DESCRIPTION
  476.             This is a new and important feature of 2.x/3.x. 
  477.         BackTick lets you insert the text output of one command 
  478.         to be the input of another command. For instance, if you 
  479.         wanted to print the contents of the Work:ESCOM directory 
  480.         with an informative header you would type this:
  481.  
  482.             ECHO >prt: "The directories in work are:" `Dir 
  483.         Work:ESCOM`
  484.  
  485.             It's a good idea to know where this key is, so I'll 
  486.         tell you. It is the key right above the Tab key. The 
  487.         unshifted version of that key is the BackTick (`), the 
  488.         shifted version is the Tilde (~).  If you try to use the 
  489.         parenthesis key (') your command will fail. There is a 
  490.         difference between those two keys even though they look 
  491.         similar on the screen.
  492.  
  493.             The backtick command always evaluates itself at the 
  494.         time it is issued. If you wish to have the backtick 
  495.         command evaluated after several other commands have been 
  496.         issued you must place the asterix (*) escape character 
  497.         before each backtick.
  498.  
  499.             For instance, lets say you want to create an alias 
  500.         which displays the contents of the Gould:Loser directory. 
  501.         You would type:
  502.  
  503. Alias grovel Echo "Contents of the Loser directory is: *`dir Gould:Loser*`
  504.  
  505.             Now, whenever you want to see what is in that 
  506.         directory you merely type 'grovel' and it will be shown.  
  507.         But, if you don't include the asterixes then any changes 
  508.         made to the Gould:Loser directory will not be reflected. 
  509.         You will only see what was in that directory when the 
  510.         Alias was first made.
  511.  
  512.             With some experimentation you will find this DOS 
  513.         function to be one of the most useful.
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.               BaseName(V1.3- arp component))
  521.  
  522.  
  523.  
  524.      NAME
  525.             BaseName - Display the Base (filename) of a pathname.
  526.  
  527.      SYNOPSIS
  528.           BaseName Path/a Suffix
  529.  
  530.      DESCRIPTION
  531.             Basename extracts the filename from a long pathname, 
  532.         displaying it to the standard output.  You can also give 
  533.         BaseName a suffix to delete.  The most common use for 
  534.         BaseName is in scripts, where it is used to generate new 
  535.         filenames from old.  This command is most useful with a 
  536.         shell that supports command substitution and piping.
  537.  
  538.      EXAMPLE
  539.             BaseName "DF0:Scoobie/Doobie/Foobar"
  540.             Foobar
  541.  
  542.             BaseName "DF0:Scoobie/Doobie/Foobar.c" .c
  543.             Foobar
  544.  
  545.  
  546.      OTHER
  547.             This command is new with V1.3 of Arp, it is not 
  548.         available with the Commodore distribution.
  549.  
  550.             It has been replaced by several internal calls in 
  551.         v2.x/3.x.
  552.  
  553.  
  554.  
  555.  
  556.             Binddrivers (1.3,2.x,3.x) (location: C)
  557.  
  558.  
  559.  
  560.     NAME
  561.             Binddrivers - Mounts device drivers residing in your 
  562.         Expansion Drawer.
  563.  
  564.     SYNOPSIS
  565.         Binddrivers
  566.  
  567.     DESCRIPTION
  568.             Locates device drivers reisiding in the Expansion 
  569.         drawer of your Workbench: disk. It then activates those 
  570.         drivers for use. This is useful to add devices to your 
  571.         system harddrives that are not mounted by the operating 
  572.         system.
  573.  
  574.             You will also find binddrivers in your 
  575.         startup-sequence.  This way, it can mount any external 
  576.         devices during startup. If you don't have a device in 
  577.         your expansion drawer or if you want those devices 
  578.         mounted when you are ready for them, then you can remove 
  579.         this command from your startup-sequence.
  580.  
  581.             NB: This is not part of 1.2.
  582.  
  583.     EXAMPLE
  584.  
  585.             1. To load the device drivers in the Expansion 
  586.         directory of sys:
  587.  
  588.         Binddrivers
  589.     
  590.     
  591.  
  592.  
  593.  
  594.  
  595.  
  596.       Break(V1.3, 2.x, 3.x: internal command)
  597.  
  598.  
  599.  
  600.      NAME
  601.           Break - Send a signal to a background process.
  602.  
  603.      SYNOPSIS
  604.           Break Process=T=Task/a A=ALL/s C/s D/s E/s F/s 
  605.  
  606.      DESCRIPTION
  607.             Many programs which run from the CLI will respond to 
  608.         the typing of one of the control characters C D E or F. 
  609.         By far the most common is control-C which usually causes 
  610.         a process to terminate.  If you execute a task in the 
  611.         background (by using Run or ARun), you will not be able 
  612.         to send it a break signal from the keyboard, and that is 
  613.         where Break comes in.  Once you know the CLI number of 
  614.         the process you wish to signal (available immediately 
  615.         after you run the process or by using the Status 
  616.         program), you can send one of these control signals to 
  617.         the background process. It simulates selecting a CLI 
  618.         process with the mouse and pressing the specified 
  619.         CTRL-key keystrokes.
  620.  
  621.             You may trigger up to four breaks at a time.
  622.  
  623.      EXAMPLE
  624.             1. To send a control C to background process number 
  625.         2:
  626.  
  627.           Break 2 C or Break 2 (Break defaults to control C)
  628.  
  629.             2. To send ALL control signals to background process 
  630.         number 3: 
  631.  
  632.           Break 3 C D E F or Break 3 ALL
  633.  
  634.             3. 2.x/3.x Only: To signal a break to a program 
  635.         running under the WAIT command:
  636.  
  637.           Break 'STATUS Com=Wait'
  638.  
  639.      CONSIDERATIONS
  640.           Not all programs respond to break requests.
  641.  
  642.      SEE ALSO
  643.           Status
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.      CD(V1.3 in C:) (2.x/3.x Internal)
  651.  
  652.  
  653.  
  654.      NAME
  655.           CD - Report or change the current directory.
  656.  
  657.      SYNOPSIS
  658.           CD Dir ROOT
  659.  
  660.      DESCRIPTION
  661.             CD when given a valid directory name, makes that 
  662.         directory the current or default working directory. To 
  663.         display the current directory, type CD without any 
  664.         arguments.
  665.  
  666.             It's also supplied with the switch ROOT. By using 
  667.         ROOT in place of an actual directory name, an assignment 
  668.         to the root of the filing system will be made. This is 
  669.         the device you booted from, rather than a specific disk.  
  670.         For example, if you booted from Drive Df0:, CD ROOT will 
  671.         permanently assign your directory to any disk in drive 
  672.         Df0:.
  673.  
  674.             It also has a simple pattern matching capability.  
  675.         You may use a wildcard specification as an argument to 
  676.         CD, CD will make the first directory it finds that 
  677.         matches the pattern the current directory. Pattern 
  678.         matching is utilized with the Amiga wildcards).
  679.  
  680.             You can also move up one directory by using multiple 
  681.         slashes (/). For instance, if the current directory is: 
  682.         Work:Art/AGA by typing CD // you will change to the Work: 
  683.         directory. 
  684.  
  685.             2.x/3.x only: You can also change directories by 
  686.         simply typing the path name at the shell prompt. The CD 
  687.         command is only needed if there are any spaces in the 
  688.         path name. In this case you must place the entire path in 
  689.         quotes.
  690.  
  691.             NB: AmigaDOS handles default drives unlike any other 
  692.         personal computer. Let's say you insert a disk named 
  693.         Stuff: in df0: and type CD df0:. Then, you remove the 
  694.         disk and insert a disk named Things: and type dir df0:, 
  695.         you will be requested to insert Stuff: in df0:.  To get 
  696.         around this, merely type Cd df0: whenever a new disk is 
  697.         inserted. This makes your Amiga read the new volume label 
  698.         and it forgets all about the old disk.
  699.  
  700.          
  701.  
  702.       EXAMPLE
  703.           1. To change directory to df0:libs
  704.  
  705.               CD DF0:LIBS
  706.           
  707.           2. To report current directory
  708.  
  709.               CD 
  710.  
  711.  
  712.           3. To make any disk in Drive 0 the current directory
  713.  
  714.                CD ROOT  
  715.  
  716.  
  717.           4. To change back to your root directory (2.x/3/x only)
  718.  
  719.                CD :      
  720.  
  721.  
  722.           5. To move back up two directories (2.x/3.x only)    
  723.  
  724.                CD //  
  725.   
  726.  
  727.  
  728.      SEE ALSO
  729.           Prompt
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.      ChangeTaskPri(V1.3,2.x,3.x) Location: C:)    
  738.  
  739.  
  740.      NAME
  741.             ChangeTaskPri - Change a tasks execution priority.
  742.  
  743.      SYNOPSIS
  744.             ChangeTaskPri P=Pri,T=TASK=PROCESS
  745.  
  746.      DESCRIPTION
  747.             By increasing/decreasing the priority of various 
  748.         tasks in the system, you can increase/decrease the amount 
  749.         of CPU time each task is allocated.  The ARP version of 
  750.         this command checks the value of your priority, and also 
  751.         allows you to change task priorities of currently running 
  752.         tasks.  This should be performed with care.  If no task 
  753.         number is entered, this command uses the currently 
  754.         executing task.
  755.  
  756.             If executed with no arguments, ChangeTaskPri will 
  757.         return the priority of the currently executing process.  
  758.         This is useful in shell scripts.
  759.  
  760.             Your Amiga's operating system was created where each 
  761.         task that is running gets assigned a priority from -128 
  762.         to 127. The processor asses this number and prioritises 
  763.         the tasks. The higher the number the more processing time 
  764.         will be alloted to it by the processor.
  765.  
  766.             WARNING: Never raise a task priority higher than 5 or 
  767.         less than -5. If you raise it above 5 you will override 
  768.         important system tasks such as the input handler (which 
  769.         checks the keyboard and the mouse). If the priority is 
  770.         below -5 it will be completely shut out of the CPU by the 
  771.         most trivial of instruction.
  772.  
  773.      EXAMPLE
  774.          
  775.             1. To change task 3's priority to -5
  776.  
  777.         ChangeTaskPri -5 Process 3 
  778.                                                    
  779.             2. To Change current CLI's priority
  780.  
  781.           ChangeTaskPri 5 
  782.  
  783.  
  784.             3.  2.x/3.x ONLY: To utilize the backtick feature to 
  785.         change the priority of the C:CONCLIP task to 5
  786.  
  787.            ChangeTaskPri 5 Process 'Status com=c:conclip'
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.      Cmp(V1.3 ARP Only)               
  795.  
  796.  
  797.      NAME
  798.           Cmp - Compare files and report differences.
  799.  
  800.      SYNOPSIS
  801.           Cmp From With FULL QUICK ALL
  802.  
  803.      DESCRIPTION
  804.             Use Cmp to display differences between binary or text 
  805.         files.  When comparing single files, the return code will 
  806.         be set to WARN if the files do not match. This is useful 
  807.         in scripts with IF statements.  The return code on 
  808.         complex pattern matches with more than one file will 
  809.         always be zero. When specifying directories as either the 
  810.         From or With arguments, you may use a dot which means 
  811.         "current directory".
  812.  
  813.             You can use either C-e (Control E) or C-f (Control F) 
  814.         to abort the comparison of the current files and move on 
  815.         to the next.  This is most useful with multiple input 
  816.         files and the FULL (see below) option.  As usual, a C-c 
  817.         (Control C) will abort the program all together.
  818.  
  819.      INPUT FILES
  820.             You can specify the file or files to be compared 
  821.         quite easily and naturally with Cmp using simple 
  822.         pathnames or wildcard patterns or even directory names. 
  823.         When you specify wildcards and/or directories to be 
  824.         compared, Cmp will compare files with the same names in 
  825.         each directory.  Cmp will not abort if it cannot find the 
  826.         second file, it will simply print an informative message 
  827.         and go on to the next file.  If you need to compare files 
  828.         with different names, then you must specify each name in 
  829.         full as the With name and the From name.  A more detailed 
  830.         explanation follows:
  831.  
  832.             If From is a file, then With may be either a 
  833.         directory or another file.  If a directory is supplied, 
  834.         then Cmp looks for a file with the same name as the From 
  835.         file in that directory:
  836.  
  837.             So, to a compare File with RAD:Dir/File2 
  838.  
  839.               Cmp File RAD:dir/File2  
  840.  
  841.  
  842.             And to compare File with DirName/File
  843.  
  844.               Cmp File DirName   
  845.  
  846.  
  847.             You may also use a wildcard pattern as the From file.  
  848.         In this case, the With name must be a directory.  Cmp 
  849.         expands the wildcard specification and tries to find 
  850.         files with that name in the With directory:
  851.  
  852.             Cmp File RAD:Foo/$?.c DF0:c
  853.  
  854.  
  855.             Finally, you can also use two directory names as the 
  856.         From and With specification. This will compare all the 
  857.         files of the same name in the From directory with all the 
  858.         files of the same name in the With directory:
  859.  
  860.             Cmp Dir1 Dir2
  861.  
  862.  
  863.       OPTIONS
  864.           FULL 
  865.             This will display all points at which the two files 
  866.         differ.  The display is of the form "Offset: Byte1 Byte2" 
  867.         where Offset is in decimal and Byte1 Byte2 are in hex. 
  868.         Use C-e or C-f to move to the next file in the series, or 
  869.         C-c to abort.
  870.  
  871.           QUICK
  872.             The QUICK option will check to see if the two files 
  873.         appear to be identical, by first comparing the date 
  874.         stamps and file lengths, and if these are the same the 
  875.         file comparison is skipped saving some time.
  876.  
  877.           ALL
  878.             If there are subdirectories within the directories 
  879.         you are comparing, the ALL switch will force Cmp to 
  880.         recursively descend these directories, comparing files as 
  881.         appropriate.
  882.  
  883.      NOTE
  884.             This command is new with V1.3 of ARP, it is not 
  885.         available with the Commodore distribution.
  886.  
  887.  
  888.  
  889.         CONCLIP (2.X/3.X only)  (location: C:)
  890.  
  891.  
  892.     NAME
  893.             Conclip- Directs console device to use the clipboard 
  894.         for cutting-and-pasting. 
  895.  
  896.     SYNOPSIS
  897.         CONCLIP [UNIT clipnum] [OFF]
  898.  
  899.     DESCRIPTION
  900.             By default, the Amiga's console device only uses its 
  901.         own internal buffer for copying and pasting. This command 
  902.         directs the console device to use the clipboard for its 
  903.         copying and pasting.
  904.  
  905.             Copy-and-Paste lets you copy a block of text from a 
  906.         console window by drag-selecting it with the mouse then 
  907.         pressing RightAmiga-C. You can then paste this into 
  908.         another console window by activating that console and 
  909.         pressing the RightAMiga- V. 
  910.  
  911.             Conclip not only lets you paste into other consoles 
  912.         but also into the window of any other application which 
  913.         supports the clipboard. 
  914.  
  915.             It's an extremely good idea to make sure it is in 
  916.         your Startup-Sequence. This way, you will not have to 
  917.         worry about it.
  918.  
  919.             Note: Conclip requires the iffparse.library to be in 
  920.         your LIBS: drawer and the clipboard.device file to be in 
  921.         your DEVS: drawer.
  922.  
  923.     KEYWORDS
  924.         UNIT
  925.             Lets you specify the device unit number from 0 to 
  926.         255.  This designates the clipboard device number you 
  927.         wish to paste to. You do not have to add the word 'UNIT', 
  928.         you can merely specify the number.
  929.  
  930.         OFF
  931.             Lets you turn off the clipboard device for that 
  932.         console.  There is really no need to do this as it will 
  933.         never effect the operation of anything else.
  934.  
  935.     EXAMPLES
  936.  
  937.             1. To direct the console to use the clipboard to 
  938.         copy-and-paste:
  939.  
  940.             Conclip
  941.  
  942.             2. To change the clipboard unit number used by the 
  943.         console device to unit 3:
  944.  
  945.             Conclip 3
  946.  
  947.             (By the way, the console device is utilized to accept 
  948.         keyboard and mouse strokes and print them to the screen. 
  949.         The output goes to a console window. The CLI has its very 
  950.         own console window.)
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.             Copy(V1.3,2.x,3.x) (in the C: directory))
  958.  
  959.  
  960.  
  961.      NAME
  962.           Copy - Copy files.
  963.  
  964.      SYNOPSIS
  965.           Copy From To ALL QUIET BUF=BUFFER CLONE DATES
  966.                NOPRO COM FLAGS QUICK
  967.  
  968.      DESCRIPTION
  969.             COPY duplicates the contents of the file or files (if 
  970.         wildcards or a directory is given) of its FROM argument 
  971.         to the file or directory specified in its TO argument, 
  972.         overwriting any existing file or files of the same names.
  973.  
  974.      FILE SPECIFICATION
  975.             The From argument may be a file, a directory or a 
  976.         wildcard pattern.  You can use a dot '.' as either the 
  977.         From or To directory to indicate the current directory. 
  978.         Double quotes "" can be used  to refer to the current 
  979.         directory.
  980.  
  981.             If you copy a file, you may give that file the same 
  982.         name or a different name as the original. If the 
  983.         destination has the same name as the original then the 
  984.         new copy will replace it.
  985.  
  986.             Copy can duplicate many copies of a file to the same 
  987.         directory if dirrerent names are used. It can also 
  988.         duplicate files to many different directories.
  989.  
  990.             If the From argument is a directory or a pattern, the 
  991.         To argument is assumed to be a directory or destination 
  992.         replacement pattern.  If the directory specified in the 
  993.         To argument does not exist, it will be created for you.
  994.  
  995.             If you include wildcard characters in the To 
  996.         argument, these are taken to be a request to use a 
  997.         pattern substitution for the destination filename.  The 
  998.         expected syntax is:
  999.  
  1000.           <optional_prefix>|<optional_postfix>
  1001.  
  1002.             You may specify neither, one, or both of these 
  1003.         optional tags.  If you exceed the length of an AmigaDOS 
  1004.         filename (30 characters as of this writing) the name will 
  1005.         be silently truncated.  You can also indicate which 
  1006.         portion of the From filename you want to be replaced by 
  1007.         using the wildcard characters in the source pattern.  The 
  1008.         rule followed is that any constant (i.e., non-wildcarded) 
  1009.         portion of the source pattern is discarded.  As an 
  1010.         example, the command:
  1011.  
  1012.              Copy l#? start#?end
  1013.  
  1014.             will copy all files beginning with an 'l'.  The 
  1015.         destination names these will be copied to will be formed 
  1016.         by removing the 'l', and sticking 'start' on the front, 
  1017.         and 'end' on the back.  So, for example, the file 'LXXX' 
  1018.         would be copied to the file 'startXXXend'. If the start 
  1019.         or end patterns are omitted, these are regarded as null 
  1020.         strings.
  1021.  
  1022.             In 1.3 you CANNOT use wildcards for Directory names, 
  1023.         only file names. 2.x/3.x allows this.
  1024.  
  1025.             1.3 will not let you copy a file to a directory that 
  1026.         does not exist. In 2.x/3.x COPY will create a directory 
  1027.         if one does not exist.
  1028.  
  1029.             If you copy a file to the same directory it cannot 
  1030.         have a file with that same name of the protection bit is 
  1031.         set on the file being copied to. 
  1032.  
  1033.             The from statement is not needed as long as the 
  1034.         source and target files are in the appropriate order. If 
  1035.         the orders are changed (Copy To filename FROM filename), 
  1036.         the FROM is required.
  1037.  
  1038.             If you don't specify a directory, but the TO keyword 
  1039.         is used, then the current directory is copied to the 
  1040.         destination.  For instance, COPY TO Work: will copy the 
  1041.         entire contents of the current directory to Work:.
  1042.           
  1043.             Devices such as PRT: and SPEAK: can be designated as 
  1044.         the destination of any file being copied.
  1045.  
  1046.             2.x/3.x Only: You can chose multiple FROM files as 
  1047.         well as multiple TO files. 
  1048.  
  1049.  
  1050.      OPTIONS
  1051.           ALL 
  1052.             Copies ALL the files from the source directory to the 
  1053.         destination directory or device.  This will recursively 
  1054.         descend all subdirectories found in the From directory, 
  1055.         and create them (if they do not already exist) in the To 
  1056.         directory.  Without this switch, only the first level of 
  1057.         the directory hierarchy will be duplicated.
  1058.  
  1059.           QUIET
  1060.             Performs a Copy without reporting what it is doing.  
  1061.         This is useful for doing copies in the background, when 
  1062.         you do not wish to be disturbed by informative messages.  
  1063.         Note that errors will still be reported.
  1064.  
  1065.           BUF=BUFFER
  1066.             This allows you to specify the number of 512 byte 
  1067.         buffers used during the copy. Unlike the Commodore Copy, 
  1068.         which uses a fixed number of buffers if this option is 
  1069.         not specified (currently, 200 buffers), the ARP Copy sets 
  1070.         its internal buffer size intelligently as a function of 
  1071.         how much memory your system contains and the size of the 
  1072.         file to be copied.  Using this option overrides this 
  1073.         intelligent behavior.
  1074.  
  1075.           CLONE
  1076.             This instructs Copy to duplicate the date, comments 
  1077.         and protection bits (except the archive bit) of the 
  1078.         original file.  The default is to Copy only the 
  1079.         protection bits. (also see Environment, below).  This is 
  1080.         the same as using both the DATE and COM keywords.
  1081.  
  1082.           DATE
  1083.             This option instructs Copy to duplicate the datestamp 
  1084.         (also see Environment, below).
  1085.  
  1086.           NOPRO
  1087.             By default, Copy duplicates the protection bits of 
  1088.         the file(s) (except the archive bit).  Using this option 
  1089.         will override this behavior, and cause the file to be 
  1090.         created with the current system default protection (also 
  1091.         see Environment, below).
  1092.  
  1093.           COM  
  1094.             This forces Copy to duplicate the comment for the 
  1095.         file.  The default is not to duplicate the comment (also 
  1096.         see Environment, below).
  1097.  
  1098.           QUICK
  1099.             This ARP addition is a highly useful option which 
  1100.         will duplicate files only if the destination file does 
  1101.         not exist or is not the same. Copy uses the Datestamp, 
  1102.         Filesize, Protect bits, and also the Filenote (but only 
  1103.         if you have enabled copying filenotes) to determine 
  1104.         whether or not the file is the same. Since a byte by byte 
  1105.         compare is not done, it is possible to fool Copy.  
  1106.         However, in normal operation of the Amiga, this 
  1107.         dramatically speeds up Copies between directories and is 
  1108.         perfectly safe (also see Environment, below).
  1109.  
  1110.           FLAGS
  1111.  
  1112.             You can override the current setting of your 
  1113.         environment flags using this keyword.  Any option 
  1114.         specified on the command line overrides the default 
  1115.         settings specified by the copyflags environment variable. 
  1116.         This keyword takes a string of the same type used for the 
  1117.         copyflags variable.  For a discussion of these flags, see 
  1118.         Environment, below.
  1119.  
  1120.           NOREQ
  1121.  
  1122.             Normally, whenever you try to copy to a directory 
  1123.         that does not exist a requestor will pop up asking you to 
  1124.         insert it.  If you do not want that little requestor, 
  1125.         then use this keyword. This is useful for when you want 
  1126.         to write a script for someone else who does not have a 
  1127.         device you want to try to copy to (such as a printer or a 
  1128.         speech device- speech devices were removed from the 
  1129.         Workbench with 2.0). 
  1130.  
  1131.      ENVIRONMENT
  1132.             If you prefer a behavior for copy other than the 
  1133.         default, you can specify this behavior permanently by 
  1134.         setting a value for the copyflags environment variable.  
  1135.         This variable takes a string of characters composed of 
  1136.         the following:
  1137.  
  1138.           N    Always copy filenotes (see COM, above).
  1139.  
  1140.           C    Always copy original datestamp (see DATES, above).
  1141.  
  1142.           Q    Always copy QUICK (see QUICK, above).
  1143.  
  1144.           P    Never copy protection flags (see NOPRO, above).
  1145.  
  1146.           O    This flag does not correspond to any command line
  1147.                arguments.  When this flag is set, Copy will only
  1148.                duplicate files which already exist in the destination
  1149.                directory, it stands for 'OLD', and essentially
  1150.                performs an update operation.  This is extremely useful
  1151.                when trying to update old software with new software.
  1152.  
  1153.             These flags can be overridden by using a command line 
  1154.         option, or by using the FLAGS keyword to specify new 
  1155.         ones.  Note also that case is not significant.  You can 
  1156.         set the copyflags variable using Set, SetEnv, or directly 
  1157.         from the command line if you are using the Shell instead
  1158.         of the CLI.
  1159.  
  1160.              Set copyflags=CQ
  1161.              SetEnv copyflags=CQ
  1162.              copyflags=CQ        ; This only works in ASH
  1163.  
  1164.             The settings shown above is perhaps the most common: 
  1165.         it enables copying datestamps, protection bits, and the 
  1166.         QUICK option.
  1167.  
  1168.      EXAMPLE
  1169.             1. To perform an update from one directory to another 
  1170.         without using copyflags, use:
  1171.  
  1172.           Copy NewDir OldDir FLAGS=O
  1173.  
  1174.           
  1175.             2. To copy a file called TheFile to OtherFile in the 
  1176.         same dir:
  1177.  
  1178.           Copy TheFile Otherfile
  1179.             or
  1180.           Copy TheFile to Otherfile
  1181.             or
  1182.           Copy To Otherfile From TheFile
  1183.  
  1184.  
  1185.             3. To copy all the files from Df0: to Work:
  1186.  
  1187.           Copy Work: df0:
  1188.  
  1189.  
  1190.             4. To copy all files and subdirectories from df0: to 
  1191.         Work:
  1192.  
  1193.           Copy Df0: Work: ALL
  1194.  
  1195.  
  1196.             5. Copy all the files in the current directory to 
  1197.         Ram:
  1198.  
  1199.           Copy "" Ram:
  1200.  
  1201.         
  1202.             6. To Copy a file called Dudes in the current 
  1203.         directory to a file with the same name to a directory 
  1204.         called :WildWest/Cowboys, which is on the same disk:
  1205.  
  1206.           Copy Dudes :WildWest/Cowboys
  1207.  
  1208.  
  1209.             7. To Copy selected files from the current directory 
  1210.         to the Stuff: directory.
  1211.  
  1212.           Copy "" (ThisFile|ThatFile|AnyFile|PickaFile) Stuff:
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.             CPU (V2.x & 3.x only) (located in the C: Directory)
  1220.  
  1221.  
  1222.  
  1223.     NAME
  1224.             CPU - Identifies which processor you have (68000, 
  1225.         68020,68030, or 68040...). It also sets the advanced 
  1226.         options of non 68000 or 68010 processors.
  1227.  
  1228.     SYNOPSIS
  1229.         CPU Cache Nocache DataCache NoDataCache Instcache
  1230.             Noinstcache ExternalCache NoExternalCache CopyBack
  1231.             NoCopyBack Burst NoBurst InstBurst NoInstburst
  1232.             DataBurst NoDataBurst Trap NoTrap FastRom NoFastRom
  1233.             NoMMUText Check 68010|68020|68030|68040|68881|68882|
  1234.             FPU|MMU
  1235.  
  1236.     OPTIONS
  1237.             Cache Nocache DataCache NoDataCache Instcache 
  1238.             Noinstcache ExternalCache NoExternalCache CopyBack 
  1239.             NoCopyBack:
  1240.  
  1241.             These are used to control the cache features of all 
  1242.         Motorola processors over 68010. These higher end 
  1243.         processors all have higher end instruction caches, which 
  1244.         stores processes inside the CPU itself. This allows those 
  1245.         internal functions to perform lightening fast because 
  1246.         they are inherant to the CPU and do not have to be 
  1247.         retrieved from memory. Instcache/NoInstcache turns these 
  1248.         functions on or off. 
  1249.  
  1250.             The 68030 & 68040 have a data cache in addition to 
  1251.         the instruction cache. These allow data to be retried 
  1252.         from memory in one grand instruction, thereby lowering 
  1253.         your CPU's overhead. DATACACHE / NODATACACHE turns this 
  1254.         on or off.
  1255.  
  1256.             CACHE / NOCACHE can turn on or off all the caches. In 
  1257.         1.3 caches are off by default and should be turned on 
  1258.         with the CPU command in your startup-sequence. 2.x/3.x 
  1259.         has them turned on as a default. 
  1260.  
  1261.             Some older programs (games mostly) that have problems 
  1262.         running with the higher end processors. These problems 
  1263.         may sometimes be solved by turning all the caches off.
  1264.  
  1265.             2.1 has added the CopyBack and NoCopyBack flags. 
  1266.         These help you manage the datacache on the 68040 which 
  1267.         does not automatically update the cache as changes are 
  1268.         made to the data. By default, this is off because it 
  1269.         conflicts with too many programs to be of any use.
  1270.  
  1271.             In addition to internal caches, there are also 
  1272.         external caches which can be turned on or off with the 
  1273.         ExternalCache or NoExternalCache flags.
  1274.             
  1275.  
  1276.  
  1277.             Burst NoBurst InstBurst NoInstburst
  1278.             DataBurst NoDataBurst:
  1279.  
  1280.             If your Amiga's memory is configured to accept a 
  1281.         special processor mode which feeds data at a superduper 
  1282.         fast speed you can utilize the Burst mode. 
  1283.  
  1284.             InstBurst and NoInstBurst turn on or off the 
  1285.         instruction mode in databursts.
  1286.  
  1287.             DataBurst and NoDataBurst turn on or off the data 
  1288.         mode in databursts.
  1289.  
  1290.             Burst and NoBurst control both the instruction and 
  1291.         data modes.
  1292.  
  1293.  
  1294.  
  1295.             Trap/NoTrap:
  1296.  
  1297.             This is a programmer's debugging flag. These will set 
  1298.         or clear the memory access trap which warns you if your 
  1299.         program is trying to access the lower 256 bytes of memory 
  1300.         or any memory above the 16 megabyte address (this 16 
  1301.         megabye hit is only noticed in the 68000 processor, 68010 
  1302.         and above allow higher end memory to be addressed).
  1303.  
  1304.             This illegal entry information is sent via the serial 
  1305.         port.  To use this function there must be a 9600 bps 
  1306.         terminal hooked up to your serial port as well as the 
  1307.         higher end processor.
  1308.  
  1309.  
  1310.             FastROM / NoFastROM:
  1311.             The 68000 processor is a 32-bit processor that is 
  1312.         accessed 16-bits at a time. If you add an accelerator 
  1313.         that has a full 32-bit processor and an MMU, you can 
  1314.         remap the kickstart into that 32-bit RAM and the MMU will 
  1315.         make it appear as though that is where the Kickstart 
  1316.         really lives. The FastROM command moves the ROM image 
  1317.         there, while the NoFastROM removes it from that area.
  1318.  
  1319.             
  1320.             NoMMUTest:
  1321.  
  1322.             Lets you remap kickstart to 32-bit ram without 
  1323.         actually checking to see if it is being used. This is a 
  1324.         function of the MMU (Memory Management Unit).
  1325.  
  1326.             
  1327.             Check 68010|68020|68030|68040|68881|68882|FPU|MMU
  1328.  
  1329.             This is used to check for the existence of why type 
  1330.         of processor or co-processor you have installed. For 
  1331.         example, if you type: "CPU Check 68000" and you have a 
  1332.         68000 installed, it will return a 1. If you have any 
  1333.         other processor installed a 0 will be returned.
  1334.  
  1335.  
  1336.     EXAMPLE
  1337.  
  1338.             1. To turn off the instruction cache, turn the data 
  1339.         cache of, and move the Kickstart ROM image to protected 
  1340.         32-bit memory:
  1341.  
  1342.             CPU NoInstcache NoDataCache FastRom
  1343.             
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.             Date(V1.3, 2.x, 3.x) (Locatin C:))             
  1352.  
  1353.  
  1354.      NAME
  1355.             DATE - Set or display the system date.
  1356.  
  1357.      SYNOPSIS
  1358.           DATE Date Time TO=VER/k
  1359.  
  1360.      DESCRIPTION
  1361.             Date is used to set the systems idea of the current 
  1362.         date and time, or to display the systems idea of the 
  1363.         current date and time.
  1364.  
  1365.             To display the current system time simply use Date 
  1366.         with no arguments.  You may specify a TO or verification 
  1367.         file to send the date to, if no TO file is specified, the 
  1368.         date is displayed in the current window.
  1369.  
  1370.             To set the time you use the format HH:MM:SS where H 
  1371.         stands for hours, M stands for minutes, and S stands for 
  1372.         seconds.  Leading zeroes are optional for all versions 
  1373.         except 1.2.  1.2 requires that you include a leading zero 
  1374.         before the 10th month.
  1375.  
  1376.             Both the display of the date and the setting of the 
  1377.         date are determined by the 1.3 environment variable 
  1378.         'dateformat'. Under 2.x/3.x it is stored simply as 
  1379.         'name'. This veriable can be a file or an actual device 
  1380.         such as a printer. This determines one of several 
  1381.         international formats for displaying and setting the 
  1382.         date. If 'dateformat' is not set or if its value is zero, 
  1383.         the AmigaDOS format is used.  Here is a list of the legal 
  1384.         values for dateformat, and the corresponding input and 
  1385.         output formats:
  1386.  
  1387.             0    This is the default AmigaDOS format, DD-MMM-YY 
  1388.                  is used for both input and output.  Note that 
  1389.                  if datetime is undefined, or the value is 
  1390.                  illegal, this will be the default option.
  1391.  
  1392.             1    International format, YY-MM-DD is the format.
  1393.  
  1394.             2    USA format, MM-DD-YY is the format.
  1395.  
  1396.             3    Canadian format, DD-MM-YY is the format.
  1397.  
  1398.             Note that dateformat controls the format for the 
  1399.         input string as well as the output display.  You never 
  1400.         have to enter leading zeros, and you may always use words 
  1401.         like SATURDAY, YESTERDAY, TOMORROW, etc.
  1402.  
  1403.             Saturday, Sunday, Monday, and the rest of the days of 
  1404.         the week can be used as flags. The system will evaluate 
  1405.         the day then advance the system date to match the 
  1406.         specified day of the week. So, if it is Monday and you 
  1407.         specify Thursday, the system clock will advance by three 
  1408.         days.
  1409.  
  1410.             FOR 1.3 Only:  SETCLOCK is used in the 
  1411.         startup-sequence to automatically read the system's 
  1412.         hardware clock (if present).  The A1000 and A500 did not 
  1413.         come with a clock installed.  Therefor, AmigaDOS would 
  1414.         check the boot disk for the date of most recent file and 
  1415.         sets the system date according to that.  The Date command 
  1416.         is then used to set the proper date and time.  This was 
  1417.         lost anytime you rebooted the computer or utilized the 
  1418.         SETCLOCK SAVE command.
  1419.  
  1420.             FOR 2.x/3.x: The clock is read automatically by the 
  1421.         system without utilizing the SETCLOCK command. Therefor, 
  1422.         you will never see it listed anywhere.
  1423.  
  1424.  
  1425.  
  1426.      EXAMPLES
  1427.             1. To use default AmigaDOS format.
  1428.  
  1429.                  SET dateformat=0   
  1430.  
  1431.             2. To set the date, using AmigaDOS format
  1432.  
  1433.                  Date 1-jan-88  
  1434.  
  1435.  
  1436.             3. To set the date to the next day's date and the 
  1437.         time to 12:00
  1438.  
  1439.                   Date Tomorrow 12:00 
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.               Delete(V1.3, 2.x, 3.x...in C: directory))
  1448.  
  1449.  
  1450.  
  1451.      NAME
  1452.           Delete - Delete any number of files or directories.
  1453.  
  1454.      SYNOPSIS
  1455.           Delete Files ALL Q=QUIET A=ASK
  1456.  
  1457.      DESCRIPTION
  1458.             Under 1.3 you can only delete up to ten files or 
  1459.         directories with a single Delete command. Wildcards are 
  1460.         acceptable.
  1461.           
  1462.             Under 2.x/3.x you can specify any number of files to 
  1463.         delete on the command line, and you can also use wildcard 
  1464.         patterns for any or all of these files.
  1465.  
  1466.      OPTIONS
  1467.           ALL 
  1468.             By default, you can only Delete empty directories.  
  1469.         If you wish to Delete a directory and everything it 
  1470.         contains, you can specify this option on the command 
  1471.         line.  Note that directories may contain other 
  1472.         directories, which themselves may contain directories or 
  1473.         files: This option will delete that entire branch of the 
  1474.         directory tree, including these additional directories 
  1475.         and files.
  1476.  
  1477.           Q=QUIET
  1478.             If you use the ALL switch, or if you specify wildcard 
  1479.         patterns, Delete displays a message with each file that 
  1480.         it deletes.  This option causes Delete to do its work 
  1481.         silently, though error messages are still reported.
  1482.  
  1483.           A=ASK
  1484.             This enters interactive mode, where Delete will 
  1485.         display the name of the file to Delete, and prompt you 
  1486.         with a question mark.  If you answer 'Y' or 'y', and then 
  1487.         press return, the file will be deleted.  Any other answer 
  1488.         will preserve the file.  Used with the ALL switch, ASK 
  1489.         will ask you if you wish to enter any directories it 
  1490.         encounters in its search. Again, typing a 'Y' or 'y' will 
  1491.         enter these directories, any other character will proceed 
  1492.         to the next entry in the current directory.
  1493.  
  1494.           FORCE
  1495.             If the 'd' protection bit is set for a file or 
  1496.         directory then that file is protected from deletion. But, 
  1497.         by using the FORCE keyword, any file will be deleted 
  1498.         including the ones that are 'protected'.
  1499.  
  1500.  
  1501.      EXAMPLE
  1502.             1. Delete all files in the current directory
  1503.  
  1504.                  Delete #?
  1505.  
  1506.  
  1507.             2.  Ask about deleting each file and directory in the 
  1508.         current directory, and each subdirectory and file.
  1509.  
  1510.                   Delete #? ASK ALL
  1511.  
  1512.        
  1513.             3.  Deletes all files in the directory which start 
  1514.         with this or that.
  1515.  
  1516.                      Delete (This|that)#?
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.             Dir(V1.3, 2.x/3.x) (located in the C: directory)
  1524.  
  1525.  
  1526.  
  1527.      NAME
  1528.             Dir - Pretty display of files and directories.
  1529.  
  1530.      SYNOPSIS
  1531.             DIR Dir OPT [ADFHIS] SIZE INTER HILITE FILES DIRS ALL
  1532.  
  1533.      DESCRIPTION
  1534.             Dir by itself displays any files and directories in 
  1535.         the current directory.  By default, Dir will display any 
  1536.         subdirectories, one per line, and then any files, in two 
  1537.         columns, in sorted order.  Directories are followed by 
  1538.         the string "(dir)".
  1539.  
  1540.             You can specify an alternate directory to display as 
  1541.         an argument, and you may also use wildcards.  If you use 
  1542.         wildcards, Dir will display all files that match that 
  1543.         wildcard pattern.  If it encounters a directory during 
  1544.         the course of its search for matching patterns, it will 
  1545.         display the name of the directory, and also its contents.
  1546.  
  1547.      OPTIONS
  1548.           OPT 
  1549.             This flag along with a single letter can represent 
  1550.         the option you desire, or you may use the clearer keyword 
  1551.         equivalents supplied.  The options and their keyword 
  1552.         equivalents are described below:
  1553.  
  1554.           SIZE or OPT S
  1555.             This ARP option displays the names of the files and 
  1556.         their sizes in two columns on the display device.  If a 
  1557.         directory is encountered, it is identified as usual with 
  1558.         a "(dir)".
  1559.  
  1560.           HILITE or OPT H
  1561.             This ARP option enables pretty printing of Dirs 
  1562.         output.  All directory names will be displayed in inverse 
  1563.         video.
  1564.  
  1565.           FILES or OPT F
  1566.             This displays only files, any directories found will 
  1567.         will not be displayed.
  1568.  
  1569.           DIRS or OPT D
  1570.             This displays only directories, any files found will 
  1571.         not be displayed.
  1572.  
  1573.           ALL or Opt A
  1574.             This option displays the complete contents of that 
  1575.         branch of the directory tree.  As Dir descends a level, 
  1576.         the indentation is increased to make the organization of 
  1577.         the disk clearer to the eye.  You may use some of the 
  1578.         other options or keywords along with ALL to generate the 
  1579.         display you need.
  1580.  
  1581.           INTER or OPT I
  1582.             This allows interactive file browsing through a 
  1583.         directory or a disk.  Using this option, you will be 
  1584.         presented with a file or directory name, followed by a 
  1585.         question mark. You can find out what additional options 
  1586.         are available to you at this point by typing another 
  1587.         question mark '?', and pressing return.  These are:
  1588.  
  1589.           B=BACK
  1590.             Moves backwards, up the directory tree.  If you are 
  1591.         at the top, this will exit the listing.
  1592.  
  1593.           DEL=DELETE
  1594.             This will delete the current file.
  1595.  
  1596.           E=ENTER
  1597.             This will enter a directory.  Note that you must be 
  1598.         at a directory entry in order for this option to be 
  1599.         valid.
  1600.  
  1601.           Q=QUIT
  1602.             This will quit Dir.
  1603.  
  1604.           T=TYPE
  1605.             This will type the current file.
  1606.  
  1607.           C=COM
  1608.             This takes any command as an argument, and sends it 
  1609.         to a subshell.  Any shell command can be used here, 
  1610.         including the IO Redirection operators (<, >, and >>).  
  1611.         If you do not specify a command as an argument, you will 
  1612.         be prompted for one.
  1613.  
  1614.      EXAMPLES
  1615.             1. To get a listing of all directories on drive DF1:
  1616.  
  1617.              DIR DF1: ALL DIRS
  1618.              or
  1619.              DIR DF1: OPT AD
  1620.  
  1621.             2. To get a listing of all directories and files and 
  1622.         the sizes of the files on drive df0:, as well as 
  1623.         displaying the directories in inverse video do:
  1624.  
  1625.              DIR DF1: ALL SIZES HILITE
  1626.              or
  1627.              DF1: OPT ASH
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.             DiskChange(V1.3, 2.x, 3.x) (located C:))
  1635.  
  1636.  
  1637.  
  1638.      NAME
  1639.             DiskChange - Inform AmigaDOS that a 5 1/4 disk has 
  1640.         been changed.
  1641.  
  1642.      SYNOPSIS
  1643.           DiskChange Dev
  1644.  
  1645.      DESCRIPTION
  1646.             5 1/4 inch disk drives do not detect when there has 
  1647.         been a disk swap, and therefore cannot inform AmigaDOS.  
  1648.         After changing disks in the 5 1/4 inch disk drive, you 
  1649.         must issue this command. You will also need to do this if 
  1650.         you make a change to the disk's name using Relabel and 
  1651.         you want the Workbench to hear about it.
  1652.  
  1653.             Note that DiskChange may also be useful with other 
  1654.         types of media, such as removable media hard disks, or if 
  1655.         you are running FFS on floppy drives.
  1656.  
  1657.  
  1658.      EXAMPLE
  1659.             1. To inform AmigaDOS that you have changed a disk in 
  1660.         an external 5 1/4 inch drive.
  1661.  
  1662.                 Diskchange df1:
  1663.  
  1664.             2. To inform AmigaDOS that you have changed a disk in 
  1665.         an external 5 1/4 inch disk drive that is mounted right 
  1666.         behind a 3 1/2 inch external drive:
  1667.  
  1668.                 Diskchange df2:
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.             DiskCopy (1.2 in C: Directory) (1.3, 2.x, 3.x 
  1675.         internal)
  1676.  
  1677.  
  1678.     NAME
  1679.             Diskcopy - Copies entire diskettes.
  1680.  
  1681.     SYNOPSIS
  1682.         DiskCopy FROM (source drive) TO (Destination drive)
  1683.             NAME (VolumeName) VERIFY MULTI
  1684.  
  1685.  
  1686.             Other computer systems require you to format a disk 
  1687.         before you make copies of old data. The Amiga lets you 
  1688.         copy to a disk that has information already stored on it. 
  1689.         All that old information will be lost though. This lets 
  1690.         you make backups of all important disk while helping you 
  1691.         dispose of files that you no longer use.
  1692.  
  1693.             DiskCopy is very useful because it takes just as much 
  1694.         time to format a blank disk as it does to perform a 
  1695.         diskcopy. But, if you only have a few files you wish to 
  1696.         copy, it may be quicker to just delete the files on the 
  1697.         destination disk you don't need using the delete command 
  1698.         then using the Copy command to transfer the ones you 
  1699.         want.
  1700.  
  1701.             DiskCopy can also be used devices of different types. 
  1702.         For instance you can copy between Ram: and Rad:. Or, df2: 
  1703.         and Ram. But, for it to work with Rad:, Rad: must contain 
  1704.         the same number of tracks (80) and blocks per track (11) 
  1705.         as a floppy device.
  1706.  
  1707.  
  1708.     KEYWORDS
  1709.     
  1710.     FROM
  1711.             This is the source, or the device you are copying 
  1712.         from.  If you only have one disk drive, this will be df0: 
  1713.         or the actual name of the disk mounted there (eg 
  1714.         MyDisk:). It can also be df1:, df2:, df3:, or df4: (if 
  1715.         you actually have these optional drives). OR, it can be 
  1716.         the RAD: or RAM: drive as stated before. Remember you 
  1717.         RAD: must be created in the same nature as a regular disk 
  1718.         drive for this to work.
  1719.  
  1720.     TO
  1721.         This is the desitination, or the device you are copying
  1722.     to. If you have only one diskdrive the copy may take quite
  1723.     a few disk swaps. This is because the contents of the source
  1724.     disk gets buffered into ram: before getting transferred to 
  1725.     the destination disk. If you have an original 256K A1000,
  1726.     this may take up to eight swaps. If you have an unexpanded
  1727.     A500, you're looking at about three swaps. If you have one
  1728.     meg of ram, you should not need to swap more than once.
  1729.     If you have two diskdrives you are the lucky one. This is
  1730.     because you will not have to make any swaps either because
  1731.     the data is passed straight through between the drives.
  1732.  
  1733.         If you have 1.3 the TO keyword is mandetory! The command
  1734.     will not function without it. But, under 2.x/3.x you do not
  1735.     need to put this keyword.
  1736.  
  1737.     NAME
  1738.         This is the name you are giving to the new copy. If you
  1739.     don't give a name, then the new volume will have the same
  1740.     name as the original. Despite the names being the same,
  1741.     there is some 'hidden' information on the disk which will
  1742.     distinguish the two disks from each other. 
  1743.  
  1744.  
  1745.     When diskcopy is stared, and the disks are being copied
  1746.     a neat little status bar opens up on your window showing
  1747.     you the progress as all 80 tracks are copied. YOu can
  1748.     cancel this process at any time by hitting     the control
  1749.     break keys: Ctrl-C and then Return. If you hit these keys
  1750.     after the copying has already started, all information on
  1751.     the destination disk will be lost. The destination disk
  1752.     will also be rendered useless until it is formatted or
  1753.     diskcopied again.
  1754.  
  1755.     NOVERIFY
  1756.         As AmigaDOS copies a disk, it verifies each sector
  1757.     after it formats it. If you don't want AmigaDOS to check
  1758.     its steps, then use this keyword.
  1759.  
  1760.         There is no point in using this keyword. It is better
  1761.     to be safe than sorry. And a few seconds of time spent
  1762.     verifying your copying will save you tons of hearache later.
  1763.  
  1764.     MULTI
  1765.         Lets you load the entire disk into memory (if there is
  1766.     at least 880k of free memory). You can then insert as many
  1767.     destination disks as you want making multiple copies. The
  1768.     system will prompt you when it is ready for the next disk.
  1769.  
  1770.  
  1771.     EXAMPLES
  1772.  
  1773.     1. To make a copy from df0: to df1:
  1774.  
  1775.     Diskcopy from df0: to df1:   ; for any version of AmigaDOS.
  1776.  
  1777.     Diskcopy from df0: df1:         ; for 2.x/3.x only
  1778.  
  1779.     Diskcopy df0: df1:             ; for 2.x/3.x only
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.             DiskDoctor (V 1.3 and 2.04. Omitted after 2.04) (in 
  1786.         C: directory)
  1787.  
  1788.  
  1789.     NAME
  1790.             DiskDoctor - Reconstructs the file structure of 
  1791.         corrupted disks.
  1792.  
  1793.     SYNOPSIS
  1794.         DiskDoctor (drivename)
  1795.  
  1796.     DESCRIPTION
  1797.             This can be described in two words: it sucks. It is 
  1798.         useless.  It has no purpose on any computer. That is why 
  1799.         it was removed after 2.04. 
  1800.  
  1801.             The concept was to repair directory and file 
  1802.         structures that were destroyed for any number of reasons. 
  1803.         These reasons can be anything from removing the disk 
  1804.         while it is still being accessed to a nuclear explosion. 
  1805.         When any type of magnetism comes in contact with your 
  1806.         floppy the data is scrambled and AmigaDOS can't read 
  1807.         anything there. You will get a variety of errors such as 
  1808.         'Volume is not validated', 'Not a DOS disk', 'Disk is 
  1809.         unreadable', or the ever so present 'Checksum Error' if 
  1810.         such damage occured. 
  1811.  
  1812.             Diskdoctor attempts to correct the damaged data on 
  1813.         the disk and save as much of it as it can.  DiskDoctor 
  1814.         can only attempt to repair FFS disks if the DEVS: 
  1815.         Mountlist is set to 0x444F5301 under the DOSTYPE keyword. 
  1816.  
  1817.             DiskDoctor is quite reckless when it repairs your 
  1818.         disk. You see, after it retrieves what data it can 
  1819.         salvage overwriting other information that may still be 
  1820.         used on the disk. It does this over- writing 
  1821.         indescriminatly without recognition of importance or 
  1822.         existence. 
  1823.  
  1824.             Therefor, if you ever use DiskDoctor, make sure you 
  1825.         are trying to repair a copy of your disk.  There is no 
  1826.         reason to use this when there are so many fabulous 
  1827.         disksalvage programs. The most notible is DiskSalv 
  1828.         created by David Haynie (former Commodore engineer and 
  1829.         all around Amiga Demi-God).  His program along with the 
  1830.         many other USEFUL salvage programs that actually work are 
  1831.         listed in the 'Replacements' selection of this reference 
  1832.         program. Quarterback Tools (no longer being developed) 
  1833.         and AmiBack Tools by Intelligent Designs are both running 
  1834.         close second to DiskSalv. 
  1835.  
  1836.  
  1837.     EXAMPLES
  1838.  
  1839.             I'M NOT GIVING ANY. THIS PROGRAM IS TOO STUPID AND 
  1840.         USELESS TO EVEN ACKNOWLEDGE IT WITH AN EXAMPLE.
  1841.  
  1842.  
  1843.  
  1844.             
  1845.  
  1846.  
  1847.  
  1848.  
  1849.                   Echo(V1.3 in C:) (2.x/3.x internal))
  1850.  
  1851.  
  1852.  
  1853.      NAME
  1854.             Echo - Echo a string to the terminal.
  1855.  
  1856.      SYNOPSIS
  1857.           Echo [string] NOLINE FIRST LEN
  1858.  
  1859.      DESCRIPTION
  1860.             Echo displays its argument to the current output, 
  1861.         this can be the printer, a file or the terminal. Echo is 
  1862.         typically used in scripts, but it can also be used (and 
  1863.         useful) to send escape sequences to things like printers.
  1864.     
  1865.             2.x/3.x only: You can use echo to output a file to 
  1866.         the environment. This is shown in the example below.
  1867.  
  1868.  
  1869.             Note that with the added keywords, you MUST use 
  1870.         double quotes to delimit a line to echo under 1.3. Under 
  1871.         2.x/3.x you don't need the quotes ONLY if it appears last 
  1872.         on the command line. 
  1873.  
  1874.             If you want to add a line feed, use the *N character. 
  1875.         But, if you use this option in either 1.3, 2.x, or 3.x 
  1876.         then quotes must be used.
  1877.  
  1878.      OPTIONS
  1879.  
  1880.           NOLINE
  1881.             This suppresses the newline which Echo automatically 
  1882.         adds at the end of its argument. This is useful in that 
  1883.         it allows you to build a single line of text using the 
  1884.         output of two or more commands.
  1885.  
  1886.           FIRST
  1887.             This option takes a numeric argument, which indicates 
  1888.         which character position to begin output at. Any 
  1889.         character before FIRST will not be displayed. This is 
  1890.         useful with LEN (see below).
  1891.  
  1892.           LEN 
  1893.             This option takes a numeric argument, which indicates 
  1894.         how many characters to output.  If you also supply a 
  1895.         FIRST argument (see above), character output will begin 
  1896.         with that character, for LEN characters. If LEN is used 
  1897.         without the FIRST keyword, then the final LEN characters 
  1898.         will be displayed.
  1899.  
  1900.      EXAMPLES
  1901.  
  1902.             1. To display "Hello World" on the terminal.
  1903.  
  1904.           Echo "Hello World!"
  1905.  
  1906.             2. To advance the printer paper, and displays Hello 
  1907.         World! on the printer. Note that you must have set your 
  1908.         escape character to \ for this example to work.
  1909.  
  1910.           Echo >PRT: "\FHello World!" 
  1911.  
  1912.             3. To display "ello World!".
  1913.  
  1914.           Echo First 2 "Hello World!" 
  1915.  
  1916.  
  1917.             4. To display "rld!".
  1918.  
  1919.           Echo Len 4 "Hello World!"
  1920.  
  1921.  
  1922.             5. To display "World!".
  1923.  
  1924.           Echo First 7 Len 6 "Hello World!" 
  1925.  
  1926.             6. To print the text file Ram:This.text to your 
  1927.         screen.
  1928.  
  1929.           Echo Ram:This.text
  1930. ø
  1931.  
  1932.  
  1933.  
  1934.  
  1935.             Ed (1.3, 2.x, 3.x located in C:)
  1936.  
  1937.  
  1938.     SYNOPSIS
  1939.             The Amiga's built in full-screen text editor.
  1940.         
  1941.             Ed is a complete text editor. Due to the huge scope 
  1942.         of the available commands you should consult your Amiga 
  1943.         System manual on how to exactly use Ed.
  1944.  
  1945.             If enough people contact me to include a full 
  1946.         tutorial in DOSMan, I will write one.
  1947.         
  1948.  
  1949.             FORMAT
  1950.         1.3:
  1951.             ED FROM (name) [SIZE (numchars)]
  1952.  
  1953.         2.x/3.x:
  1954.             ED [FROM] name] [SIZE numchars] [WITH comfile] 
  1955.                [TABS interval] [WINDOW device] [WIDTH columns]
  1956.                [HEIGHT rows]
  1957.  
  1958.     
  1959.  
  1960.     KEYWORDS
  1961.         FROM
  1962.             This is the name of the file you wish to edit.
  1963.         If the file does not exist, Ed will create it. This keyword
  1964.         is optional as long as it is the first arguement in the
  1965.         Ed statement.
  1966.  
  1967.         SIZE
  1968.             This sets the size of the buffer which ED uses. If
  1969.         this is the second arguement in the command line, then
  1970.         the keyword is optional, you only need to type the number.
  1971.         SIZE defaults to 40,000 bytes. If your buffer is not big
  1972.         enough to hold the file you are editing, then you will
  1973.         get a warning message informing you of this from Ed.
  1974.  
  1975.         WITH
  1976.             2.x/3.x Only: This lets you make an Ed command file
  1977.         to execute automatically. This is a command file that
  1978.         contains a list of extended instructions for Ed that
  1979.         will execute when the file is run. This exists in the 
  1980.         form of a script. See your Amiga's manual on how to set
  1981.         up this command script.            
  1982.  
  1983.         TABS
  1984.             2.x/3.x Only: This lets you set how many spaces will
  1985.         be skipped when    you hit the Tab key. The default Tab is
  1986.         three spaces.
  1987.  
  1988.         WINDOW, WIDTH, HEIGHT
  1989.             2.x/3.x Only: The combination of these three commands
  1990.         would allow you to open Ed on a remote terminal. Window
  1991.         lets you specify this device (for example, AUX:). The
  1992.         Width and Height lets you set the demensions of the new
  1993.         window.
  1994.  
  1995.             2.x/3.x Only: You can also edit binary files, not just
  1996.         plain ASCI text.
  1997.  
  1998.     EXAMPLE
  1999.  
  2000.             1. To edit a text file called ThisText in the 
  2001.         Work:TextFiles directory.
  2002.  
  2003.             Ed Work:TextFiles/ThisText
  2004.  
  2005.  
  2006.             2. To edit a really big file of 75,000 kbytes in the 
  2007.         Work:TextFiles
  2008.  
  2009.             Ed Work:TextFiles/ReallyBig.txt SIZE 80000
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.         EDIT (1.3, 2.x, 3.x) (Located in the C: Directory)
  2016.  
  2017.     SYNOPSIS
  2018.         An AmigaDOS line editor.
  2019.  
  2020.     FORMAT
  2021.             EDIT [FROM] fromname [TO] toname [WITH] withname 
  2022.         [VER] vername [OPT W chars or WIDTH chars] [OPT P lines 
  2023.         or PREVIOUS lines]
  2024.  
  2025.  
  2026.  
  2027.     EXPLANATION 
  2028.  
  2029.             Unless you grew up with UNIX and really dig line 
  2030.         editors you should really try a different program (even 
  2031.         Ed) before you dive into Edit. 
  2032.  
  2033.  
  2034.             What does set Edit apart from Ed (and most other text 
  2035.         editors) is that it is able to edit binary files and it 
  2036.         can execute a predefined list of line editor commands.
  2037.  
  2038.             Please note that starting with version 2 of Ed you 
  2039.         can do the same thing, so there is really no need to keep 
  2040.         both of these programs hanging around on your system 
  2041.         disk.
  2042.  
  2043.     
  2044.     KEYWORDS
  2045.  
  2046.         FROM
  2047.             EDIT requires the FROM keyword. This will tell EDIT 
  2048.         which file to edit. This filename must exist. EDIT will 
  2049.         not create the file for you like Ed will.
  2050.  
  2051.         TO
  2052.             This will tell edit where to save the file to once 
  2053.         you decide to finish. If this is the second command in 
  2054.         your arguement, you do not need the TO keyword.
  2055.     
  2056.             EDIT is limited in the fact that it will not 
  2057.         overwrite a file that already exists. If the TO filename 
  2058.         is the same as the FROM filename then instead of 
  2059.         overwriting the FROM filename it will be save the 
  2060.         original as :t/edit.backup. The file you are working on 
  2061.         then gets named and saved as the FROM filename.
  2062.  
  2063.         WITH
  2064.             This specifies a file which will be used as input to 
  2065.         EDIT's command options. The contents of WITH must be a 
  2066.         series of valid options for it to work.  If WITH is the 
  2067.         third argument in an EDIT command line, the keyword is 
  2068.         optional. If you don't use this keyword you must manually 
  2069.         input your parameters.
  2070.  
  2071.             Due to the huge scope of available commands you 
  2072.         should consult your Amiga System manual on how to 
  2073.         configure EDIT. 
  2074.  
  2075.             If there is enough of an interest I will write a full 
  2076.         tutorial on how to configure EDIT.
  2077.  
  2078.         VER
  2079.             This lets you specify where to send the output of 
  2080.         EDIT to. You can send the output to any logical device 
  2081.         including PRT: to print it.
  2082.  
  2083.         OPT W  or WIDTH
  2084.         OPT P  or PREVIOUS
  2085.             This lets you set the actual physical size of EDIT. 
  2086.         WIDTH lets you set the actual line length.  PREVIOUS lets 
  2087.         you designate how many lines will be kept in EDIT's 
  2088.         history buffer. 
  2089.  
  2090.             The default for line length is 120 characters and the 
  2091.         default history buffer is 40 lines. If you multiply the 
  2092.         WIDTH by the PREVIOUS you will get the exact amount of 
  2093.         RAM you need to reserve as a work buffer. This amount can 
  2094.         be set with the STACK command. 
  2095.  
  2096.             If you set the OPT W and OPT P options, you must use 
  2097.         the OPT keyword with the W or P letters.
  2098.  
  2099.  
  2100.  
  2101.     EXAMPLES
  2102.  
  2103.             1. To edit a file called MyText in the default 
  2104.         directory:
  2105.  
  2106.         EDIT MyText
  2107.  
  2108.             2. To edit a file called MyText and to save it under 
  2109.         a file called YourText that is 5000 lines long:
  2110.  
  2111.         EDIT FROM MyText TO YourText OPT P5000
  2112.  
  2113.             3. To edit a file called MyText and to use the editor 
  2114.         commands located in the edit.prefs file (which you 
  2115.         created earlier). The data will then be saved as 
  2116.         YourText. And, to send all the messages and verifications 
  2117.         from EDIT to your printer while setting the number of 
  2118.         lines to 50 and a line width as 175:
  2119.  
  2120.         EDIT FROM MyText TO YourText WITH edit.prefs VER
  2121.             PRT: OPT W175 OPT P50
  2122.  
  2123.  
  2124.  
  2125.         See also:
  2126.  
  2127.         STACK
  2128.         
  2129.  
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.              Else (1.3 in C:) (2.x/3.x internal)
  2136.  
  2137.  
  2138.  
  2139.      NAME
  2140.           Else - FALSE clause of IF conditional.
  2141.  
  2142.      SYNOPSIS
  2143.           Else
  2144.  
  2145.      DESCRIPTION
  2146.             Else is used in combination with IF to perform 
  2147.         conditional testing.  If the IF conditional fails, 
  2148.         control will be passed to the commands following the 
  2149.         ELSE.  If the IF conditional succeeds, then the commands 
  2150.         following the ELSE (up to the concluding ENDIF) will be 
  2151.         skipped.
  2152.  
  2153.             Note that Workbench 2.x and above contains a builtin 
  2154.         version of this command.  The 1.3 of Else cannot be 
  2155.         executed outside of a script, while the 2.x/3.x version 
  2156.         of Else can be executed inside or out of a script file.
  2157.  
  2158.      SEE ALSO
  2159.           IF ENDIF Execute
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.            EndCLI (V1.3 in C:) (2.x/3.x internal)
  2166.  
  2167.  
  2168.  
  2169.      NAME
  2170.           EndCLI - Terminate a CLI or Shell.
  2171.  
  2172.      SYNOPSIS
  2173.           EndCLI
  2174.  
  2175.      DESCRIPTION
  2176.             EndCLI causes a shell process to terminate.  The 
  2177.         shell will shutdown, freeing all of its resources and 
  2178.         closing its window (if it is interactive).
  2179.  
  2180.             Note that if another program is still using the 
  2181.         console for a CLI, you may not be able to close a console 
  2182.         CLI window even after running ENDCLI until you terminate 
  2183.         that command.  This is most likely to occur if you have 
  2184.         "RUN" some command from the CLI and it is still executing 
  2185.         when you try to EndCLI.
  2186.  
  2187.             2.x/3.x Shell contains this command as a builtin. 
  2188.         Also, you can press the CTRL-\ or click on the close 
  2189.         button to exit your shell.
  2190.  
  2191.      SEE ALSO
  2192.           NewCLI NewSHELL
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.              EndIf(V1.3 in C:) (v 2.x/3.x internal)
  2200.  
  2201.  
  2202.  
  2203.      NAME
  2204.           EndIf - Show end of IF ELSE Conditional.
  2205.  
  2206.      SYNOPSIS
  2207.           EndIf
  2208.  
  2209.      DESCRIPTION
  2210.             This is used to mark the end of a conditional block 
  2211.         in a script. Note that in 2.x/3.x this command is 
  2212.         builtin.
  2213.  
  2214.             If the tested condition proves false then all 
  2215.         commands after ELSE and before ENDIF are executed. If the 
  2216.         tested condition is true, then all commands after the IF 
  2217.         and before the ELSE keywords are executed.
  2218.  
  2219.      SEE ALSO
  2220.           IF ELSE Execute
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.             ENDSHELL  (1.3: Alias) (2.x/3.x Internal)
  2227.  
  2228.  
  2229.     NAME
  2230.             ENDSHELL - Exactly like ENDCLI except it can close 
  2231.         the CLI or Shell window.
  2232.  
  2233.     SYNOPSIS
  2234.         ENDSHELL
  2235.  
  2236.     DESCRIPTION
  2237.             This terminates the CLI or Shell window just like the 
  2238.         ENDCLI command does. 
  2239.  
  2240.             Under 1.3 this command does not actually exist.  It 
  2241.         is created in the startup-sequence with the Alias 
  2242.         command. But, it acts exactly like ENDCLI.
  2243.  
  2244.     SEE ALSO
  2245.         ENDCLI
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.                EndSkip(V1.3 in C:) (2.x/3.x internal)
  2254.  
  2255.  
  2256.  
  2257.      NAME
  2258.           EndSkip - Unconditionally abort a SKIP in progress.
  2259.  
  2260.      SYNOPSIS
  2261.           EndSkip
  2262.  
  2263.      DESCRIPTION
  2264.             If EndSkip is encountered after executing a Skip 
  2265.         command in a Script, the Skip will be aborted, and the 
  2266.         fail level will be set to WARN.
  2267.  
  2268.             Note that in 2.x and 3.x this command is builtin.
  2269.  
  2270.      SEE ALSO
  2271.           Execute Skip Lab
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.                    Eval(V1.3, 2.x, and 3.x in C:)
  2279.  
  2280.  
  2281.  
  2282.      NAME
  2283.             Eval - evaluate arithmetic and logical expressions.
  2284.  
  2285.      SYNOPSIS
  2286.             Eval Value1/a Op Value2 TO/k L=LFORMAT/k
  2287.  
  2288.      DESCRIPTION
  2289.             Eval computes the results of simple arithmetic and 
  2290.         logical expressions as applied to two arguments, and 
  2291.         displays the result on its standard output. Numeric 
  2292.         arguments may be input as:
  2293.  
  2294.           Decimal
  2295.             This is the default, no extra qualifiers needed.
  2296.  
  2297.           Hexadecimal
  2298.             Enter hexadecimal numbers as 0x<number> or 
  2299.         #x<number>, for example:  0x1A or #x1A.
  2300.  
  2301.           Octal
  2302.             Enter octal numbers as 0<number> or #<number>, for 
  2303.         example: 0777 or #777.
  2304.  
  2305.           Binary
  2306.             Binary numbers (in ARP eval only) may be entered with 
  2307.         #B, for example:  B1111
  2308.  
  2309.           Character
  2310.             Characters are supported only by the Commodore Eval.
  2311.  
  2312.           The operations supported are given below:
  2313.  
  2314.           addition        +         not                    ~
  2315.           subtraction     -         left shift            <<
  2316.           multiplication  *         right shift           >>
  2317.           division        /         negation               -
  2318.           mod            mod        exclusive or          xor
  2319.           and             &         bitwise equivalence   eqv
  2320.           or              |
  2321.  
  2322.             Any fractional amounts that result from this process 
  2323.         are discarded.
  2324.  
  2325.      OPTIONS
  2326.           TO  
  2327.             You can send the output of Eval to a file which is 
  2328.         indicated in the path with this keyword.
  2329.  
  2330.           L=LFORMAT
  2331.             You can control the output format of Eval using this 
  2332.         keyword. 
  2333.  
  2334.             There are four formats you specify: hexadecimal (%X) 
  2335.         Octal (%O), Decimal (%N), or ASCII (%C). The hex and 
  2336.         octal formats require a number after the letter to 
  2337.         indicate how many letters you want to print.    For 
  2338.         example, to display a hexadecimal number in a field of 8, 
  2339.         you can do LFORMAT="%08lx".  You can also include escape 
  2340.         characters (such as *n for a newline) inside your LFORMAT 
  2341.         string.  For this release of Eval, you also need to 
  2342.         always use the 'l' (for long) format character with all 
  2343.         format commands.  The default is set to Decimal. 
  2344.             
  2345.             You can also include any text you desire in the 
  2346.         format string by using quotes. For example:
  2347.  
  2348.                 LFORMAT = "There are %N widgets sold."
  2349.      EXAMPLE
  2350.          
  2351.             1. To find the sum of 2 + 2 and print the answer as 2 
  2352.         octal digits followed by a new line character.
  2353.  
  2354.             EVAL 2 + 2 LFORMAT = "%O2*N"
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.              Execute(V1.3, 2.x, and 3.x in C:)
  2363.  
  2364.  
  2365.  
  2366.      NAME
  2367.             Execute - Cause the shell to execute commands from a 
  2368.         file.
  2369.  
  2370.      SYNOPSIS
  2371.             Execute [Filename] [ARGS...]
  2372.  
  2373.      DESCRIPTION
  2374.             Execute causes the shell or CLI to read the commands 
  2375.         from the filename specified as Execute's input argument.  
  2376.         When the end of the file is reached, control returns to 
  2377.         the keyboard.  You can force the Shell to abort any 
  2378.         script file processing by typing a C-d (Control D) 
  2379.         sequence while the script is being executed.
  2380.  
  2381.             You can even include nest an Execute inside your 
  2382.         script to cause one script to call another one during its 
  2383.         execution.
  2384.  
  2385.             In AmigaDOS 1.3 and above, you can execute a script 
  2386.         without typing EXECUTE and just typing name of the script 
  2387.         if the 'S' bit is set.
  2388.  
  2389.          
  2390.      KEYWORDS
  2391.           FILENAME
  2392.             The name of the script to execute.
  2393.  
  2394.           ARGS
  2395.             Any arguments to be passed to the file. These may be 
  2396.         any valid AmigaDOS string (including filenames and all 
  2397.         sorts of devices.    
  2398.  
  2399.      DIRECTIVES
  2400.             Execute recognizes several special commands known as 
  2401.         Directives.  Each of these Directives begins with a DOT 
  2402.         '.', but this character can be redefined if needed.  
  2403.         Execute is reasonably flexible in allowing you to 
  2404.         redefine its special characters, which is quite 
  2405.         fortunate, as you will soon see.
  2406.  
  2407.             In order for Execute to recognize these directives, 
  2408.         the DOT character must be placed at the beginning of the 
  2409.         line, and the directive name must follow immediately, 
  2410.         with no intervening whitespace.  You can also use the DOT 
  2411.         (again, at the beginning of a line only) to introduce a 
  2412.         comment. This usage is ".<whitespace>Anything" where 
  2413.         whitespace is any of space, tab or newline.
  2414.  
  2415.             Many of these directives deal with passing arguments 
  2416.         to scripts and establishing defaults for arguments.  
  2417.         These are described below:
  2418.  
  2419.      .KEY and PARAMETERS
  2420.             The .KEY directive (which may be abbreviated as .K) 
  2421.         is used to declare the names of parameters which will be 
  2422.         used in the course of the script file. Note that these 
  2423.         are not environment variables.  If you intend to pass 
  2424.         arguments to a script file, it is wise to use this 
  2425.         directive as the first line of a file. If the first 
  2426.         non-empty line (i.e., a line which contains anything 
  2427.         other than a newline) does not contain a dot command 
  2428.         (directive), then the arguments will not be processed.
  2429.  
  2430.             The .KEY directive accepts any legal template.  These 
  2431.         are the same kinds of templates you see all the time in 
  2432.         the AmigaDOS commands. Note that currently, there is no 
  2433.         support for multiargs (the /... template type) in 
  2434.         scripts, and so you should not use this in your 
  2435.         templates.  All the usual processing associated with 
  2436.         templates is active in scripts, including the '?' display 
  2437.         of the template, and position independent arguments.
  2438.  
  2439.             When you use the .KEY directive, Execute matches up 
  2440.         the users arguments with your template keywords, and if 
  2441.         no error occurred, scans the file for any items 
  2442.         surrounded with the BRA KET characters.  These are 
  2443.         initially '<' and '>', which is quite unfortunate, since 
  2444.         these tend to conflict with the IO redirection operators.  
  2445.         It is wise to change these to another character using the 
  2446.         .BRA and .KET operators (see below).
  2447.  
  2448.             When a BRAKET sequence is encountered, Execute 
  2449.         replaces the keyword inside the BRAKET with the users 
  2450.         argument.  If the user did not enter an argument for that 
  2451.         keyword, and there is no default setting for this 
  2452.         keyword, then Execute removes the argument all together, 
  2453.         resulting in a NULL string.  Arguments that do not take 
  2454.         an argument, for example, switches (template type /S), 
  2455.         are handled somewhat differently.  If the user supplied 
  2456.         the switch on the command line, then the braket sequence 
  2457.         is replaced by the actual name of the switch, otherwise, 
  2458.         it is null.
  2459.  
  2460.      DEFAULT VALUES FOR PARAMETERS
  2461.             This assigns the value string to all occurrences of 
  2462.         the substitution argument described below.
  2463.  
  2464.             You can set default values for your variables in two 
  2465.         ways.  The first way is to use the .DEFAULT directive.  
  2466.         .DEFAULT (which may be abbreviated as .DEF) takes a 
  2467.         template keyword and a default value.  If that keyword 
  2468.         does not have a value at the time the .DEFAULT statement 
  2469.         is scanned, then Execute binds the value to that keyword.  
  2470.         Here is an example of its use:
  2471.  
  2472.             .DEFAULT Foobar "Testing123"
  2473.  
  2474.  
  2475.             Another way to set default values is by using the 
  2476.         DOLLAR (initially each time the parameter is used, it 
  2477.         does not set it permanently:
  2478.  
  2479.             Echo "<Foobar$Testing123>"
  2480.  
  2481.             Note that a .DEFAULT statement will override all 
  2482.         following DOLLAR defaults. The decision as to which to 
  2483.         use is usually based on how many times you use that 
  2484.         parameter.  If you only use it once, then either will do. 
  2485.         If you use it many times, then .DEFAULT is probably the 
  2486.         simplest.  Also note that there is not a conflict between 
  2487.         this use of the DOLLAR and the use of the dollar during 
  2488.         Shell environment expansion: The DOLLAR is special to 
  2489.         Execute only inside of BRAKETS, and the shell expands the 
  2490.         environment variables only after Execute has parsed the 
  2491.         file.  Unless you use environment variables inside of 
  2492.         BRAKETs, there should be no need to change your .DOLLAR 
  2493.         character.
  2494.  
  2495.             You can also use a double DOLLAR inside of brackets. 
  2496.         This will be replaced by the current CLI number.
  2497.  
  2498.      CHANGING THE META CHARACTERS
  2499.             The following directives are used to change the 
  2500.         default meta characters used by Execute.  Each take a 
  2501.         single character as their argument.
  2502.  
  2503.           .BRA and .KET
  2504.             These change the bracket characters (initially '<' 
  2505.         and '>', respectively) to something else.  It is highly 
  2506.         recommended you make a habit of doing this, whether you 
  2507.         think you need to or not.  Good characters to use instead 
  2508.         are the curly braces ('{' '}') since these are not needed 
  2509.         for anything else, currently.
  2510.  
  2511.           .DOT 
  2512.             This changes the DOT character (initially '.').
  2513.  
  2514.           .DOL or .DOLLAR
  2515.             This changes the DOLLAR character (initially '$').
  2516.  
  2517.      MISCELLANEOUS
  2518.             Execute may be nested, i.e., you may include Execute 
  2519.         commands in scripts, which can also contain Execute 
  2520.         commands.
  2521.  
  2522.             Execute will sometimes need to write a temporary 
  2523.         file.  If you have assigned a directory or device to T:, 
  2524.         then this location will be used.  If not, and there is a 
  2525.         :T directory for the current directory, then Execute will 
  2526.         create the assignment, and use this directory.  
  2527.         Otherwise, it will attempt to create both the directory 
  2528.         and the assignment in the current directory. EXECUTE uses 
  2529.         <$$> with the task number of the CLI from which it is run 
  2530.         to create this.
  2531.  
  2532.      EXAMPLES
  2533.  
  2534.             1. To execute a script named RunThis located on Df0:
  2535.  
  2536.             EXECUTE df0:RunThis
  2537.  
  2538.             2. Here is an example of a KEY directive which 
  2539.         contains a switch.  This illustrates a good way to handle 
  2540.         and use /s style arguments in script files.
  2541.  
  2542.              .KEY MySwitch/s
  2543.  
  2544.              IF "<MySwitch>" EQ "MySwitch"
  2545.                 Echo "The switch is on!"
  2546.              ELSE
  2547.                 Echo "The switch is off!"
  2548.              ENDIF
  2549.  
  2550.           If the user doesn't supply MySwitch as an argument on the
  2551.           command line, then the comparison will fail (the first
  2552.           argument will be ""), otherwise, the comparison will succeed
  2553.           (the switch is "on").
  2554.  
  2555.      SEE ALSO
  2556.           If Skip Failat Lab Echo Quit
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.            Failat(V1.3 in C:) (2.x, 3.x internal)
  2565.  
  2566.  
  2567.  
  2568.      NAME
  2569.             Failat - To set a fail level for a batch file.
  2570.  
  2571.      SYNOPSIS
  2572.             Failat RCLim
  2573.  
  2574.      DESCRIPTION
  2575.             When using Execute to run scripts, any command that 
  2576.         returns an error greater than the current value of the 
  2577.         Fail level will cause the shell to abort the script with 
  2578.         an error message.  You can use Failat to increase or 
  2579.         decrease this level to whatever you need.  The shell will 
  2580.         reset the Fail level (usually 5, 10, 20 but can be any 
  2581.         number) at the end of every script execution, so scripts 
  2582.         always start out in a known state.
  2583.  
  2584.             Under 2.x/3.x the result code is stored int the 
  2585.         environment variable RC, which is represented by $rc. The 
  2586.         bigger the return code, the bigger the error. If the 
  2587.         severity of the error is higher than the number you set 
  2588.         then the script stops running.
  2589.  
  2590.             Once your FAILAT has been run in the script, the 
  2591.         FAILAT level returns to 10.
  2592.  
  2593.             You can use FAILAT to a very high number and test the 
  2594.         return codes that any of your IF statements return.
  2595.             
  2596.         
  2597.      EXAMPLE
  2598.             1. To temporarily set the failure level to 30
  2599.  
  2600.           Failat 30 
  2601.  
  2602.           This now makes it possible to execute commands that return
  2603.           error codes greater than 20, which would ordinarily cause
  2604.           Execute to stop with an error message.
  2605.  
  2606.             2. To display the current failure level threshold.
  2607.  
  2608.           Failat
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.                Fault(V1.3 in C:) (V2.x/3.x internal)
  2616.  
  2617.  
  2618.  
  2619.      NAME
  2620.             Fault - translate numeric error codes to ascii text.
  2621.  
  2622.      SYNOPSIS
  2623.             Fault Fault/...
  2624.  
  2625.      DESCRIPTION
  2626.             Normally when your Amiga has an error it returns a 
  2627.         requestor telling you what you need to do. Many errors do 
  2628.         not bother to open up this requestor, only a number (for 
  2629.         example, 'Last command failed with error 330). This 
  2630.         command accepts numeric those error codes and turns them 
  2631.         into system error messages, or if the error code is not 
  2632.         defined the numeric code is again displayed.
  2633.  
  2634.             Translates all the faults into English-lanuage 
  2635.         explanations.
  2636.  
  2637.             The CLI and Shells (and many programs) call on Fault 
  2638.         to report their errors for them.  
  2639.  
  2640.             In 2.x/3.x this fault code is stored into the 
  2641.         variable 'result 2'.
  2642.  
  2643.             The AmigaDOS command also  does this but may not root 
  2644.         out the exact problem. If the AmigaDOS command WHY does 
  2645.         not satisfy your quiriosity of what the error was about, 
  2646.         then using Fault directly after it will expound on it.
  2647.           
  2648.  
  2649.       EXAMPLE
  2650.             1. To display the error message associated with fault 
  2651.         code 220:
  2652.  
  2653.             FAULT 220
  2654.  
  2655.  
  2656.  
  2657.             2. To display the error messages with fault codes 
  2658.         216, 220, and 330:
  2659.  
  2660.  
  2661.             FAULT 216 220 330
  2662.  
  2663.  
  2664.  
  2665.             FF (ONLY in 1.3) (DOES NOT exist in 2.x/3.x)
  2666.  
  2667.  
  2668.     SYNOPSIS
  2669.             FF - Speeds up the text display.
  2670.  
  2671.     FORMAT
  2672.             FF [-O] [-N] [fontname]
  2673.  
  2674.     EXPLANATION
  2675.             This only exists in 1.3 because 2.x/3.x have fast 
  2676.         text routines that are inherit with those systems. If you 
  2677.         are using a standard 8x8 or 10x9 font FF will speed up 
  2678.         the display of the text on 1.3 machines. 
  2679.  
  2680.             Not only that, but you can use FF to replace the 
  2681.         format system font as long as it is of the proper size 
  2682.         and is fixed width. 2.x/3.x uses the Font Prefrences in 
  2683.         the Prefrences drawer to perform this same task.
  2684.  
  2685.     
  2686.     KEYWORDS
  2687.  
  2688.         -O
  2689.             This tells FF to speed up the text. It is on by 
  2690.         default.
  2691.  
  2692.         -N
  2693.             This tells FF to turn off the fast text routines and 
  2694.         can be turned back on by reissuing the command.
  2695.  
  2696.         [fontname]
  2697.             This tells FF to replace the system default fonts 
  2698.         (TOPAZ80 and TOPAZ60). The font you use to replace it 
  2699.         must have the NewFont.font file as well a drawer which is 
  2700.         associated with that font file containing the data for 8 
  2701.         or 9 size fonts, or both. 
  2702.  
  2703.             If you designate a font that does not have those 
  2704.         files available, the default Topaz fonts will be used.
  2705.  
  2706.  
  2707.     EXAMPLES
  2708.  
  2709.             1. To turn on fast text routines:
  2710.  
  2711.             FF
  2712.  
  2713.                or
  2714.  
  2715.             FF -O
  2716.  
  2717.             2. To turn on fast text routines while replacing the 
  2718.         system fonts with the Neat.font:
  2719.  
  2720.               FF Neat.font
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.             Filenote(V1.3, 2.x, 3.x in C:)
  2728.  
  2729.  
  2730.  
  2731.      NAME
  2732.             Filenote - Sets a comment for a file.
  2733.  
  2734.      SYNOPSIS
  2735.             Filenote [File]filename Comment
  2736.  
  2737.      DESCRIPTION
  2738.             You can set a comment for a file of up to 79 
  2739.         characters using this command.  You can also remove the 
  2740.         comment for a file using this command by specifying a 
  2741.         null comment string.  Comments may be viewed with the 
  2742.         list command.
  2743.  
  2744.             When you COPY a file, the note does not get copied 
  2745.         with it.  When you RENAME a file, the note stays attached 
  2746.         to that file.  If you change the file in any way, except 
  2747.         COPYing it, the file note does not get effected. If you 
  2748.         add another filenote to a a file that already has one, 
  2749.         then the old one gets deleted and the new one replaces 
  2750.         it.
  2751.  
  2752.             If you LIST a directory, these filenotes are 
  2753.         displayed. The notes will appear right below the file 
  2754.         name with a : in front of it.  If there is an icon 
  2755.         attached to that file, then you can read or a note 
  2756.         through that icon's information window.
  2757.  
  2758.             These filenotes do not effect the file they are 
  2759.         attached to in anyway what so ever.
  2760.  
  2761.      KEYWORDS
  2762.         FILE filename
  2763.             This is the file the note is to be attached to. If this is 
  2764.         the first argument in the command string then the FILE keyword is
  2765.         optional. 
  2766.  
  2767.             1.3 only: Only one file can be annotated at a time.
  2768.  
  2769.             2.x/3.x only: Wildcards are completely acceptable. 
  2770.         You can also annotate as many files as you like at the 
  2771.         same time.
  2772.  
  2773.  
  2774.         COMMENT string
  2775.             If this is the second argument in the command string then the
  2776.         COMMENT keyword is optional. This defines the note that is to be
  2777.         attached to it. The string must be enclosed in quotation.
  2778.  
  2779.         ALL
  2780.             2.x/3.x only: Lets you add the same note to all the files in
  2781.         the specified directory and all its subdirectories.
  2782.  
  2783.         QUIET
  2784.             2.x/3.x only: Does not list the files as the notes are being
  2785.         added.
  2786.  
  2787.      EXAMPLE
  2788.           
  2789.             1. To attach a note that says "Here it is!" to your 
  2790.         file ThisFile
  2791.  
  2792.           Filenote FILE ThisFile COMMENT "Here it is!" 
  2793.  
  2794.             2. To attach a note that says "Don't delete this no 
  2795.         matter what!" to the File Important.text
  2796.  
  2797.           Filenote Important.text "Don't delete this no matter what!"
  2798.  
  2799.  
  2800.      SEE ALSO
  2801.           Copy List
  2802.  
  2803.  
  2804.  
  2805.  
  2806.             FORMAT (1.3, 2.x, 3.x in SYS:System)
  2807.  
  2808.     NAME
  2809.             Format- Initializes a disk as being blank.
  2810.  
  2811.     SYNOPSIS
  2812.             FORMAT DRIVE drivename NAME string NOICONS QUICK FFS
  2813.  
  2814.  
  2815.     DESCRIPTION
  2816.             FORMAT takes a disk and initialises it to make it 
  2817.         empty. You can also specify a name for it, but it you 
  2818.         don't it will name it 'empty.
  2819.  
  2820.             WARNING: All information on the disk will be erased 
  2821.         while using this command.
  2822.  
  2823.             After typing FORMAT, you are prompted to insert a 
  2824.         disk and hit the RETURN key. After you hit RETURN you 
  2825.         cannot turn back. It can be interrupted by hitting the 
  2826.         CTRL-C and then RETURN. But, some data will be lost.
  2827.  
  2828.             As the format occurs, the status of the format is 
  2829.         displayed.  Each cylinder number (0-79 for a double 
  2830.         density floppy) clicks by on the screen until every 
  2831.         cylinder is initialized then verified. After this entire 
  2832.         process the volume name is assigned.
  2833.  
  2834.             If you are copying one disk to another DISKCOPY is a 
  2835.         much faster command. This is because you must first 
  2836.         FORMAT, then INSTALL, then COPY ALL the from between the 
  2837.         disks. If you are using DISKCOPY all these steps are 
  2838.         performed by the DISKCOPY command. 
  2839.  
  2840.             The only time the FORMAT-COPY ALL routine is better 
  2841.         than the DISKCOPY is when the information on the source 
  2842.         disk have been deleted and rewritten so many times that 
  2843.         the contents of the disk have become scattered. By 
  2844.         formating the disk then copying all the files over, you 
  2845.         are consolidating them. By consolidating them you will 
  2846.         greatly speed up your disk accessing time. The only time 
  2847.         DISKCOPY will be better on a scattered disk is if you 
  2848.         optimize the disk first using one of the many optimizing 
  2849.         programs available.
  2850.  
  2851.     KEYWORDS
  2852.  
  2853.         DRIVE drivename
  2854.             The drive which contains the disk to be formatted. 
  2855.         The valid entries are df0: df1: df2: and df3:. 
  2856.  
  2857.             FORMAT can be used on any logical device. These 
  2858.         devices include harddrives, recoverable ram drives, or 
  2859.         even removable media which is readable/writeable.
  2860.  
  2861.             WARNING: Make sure you are typing the write device 
  2862.         name.  By typing DH0: instead of DF0: my cause you lose 
  2863.         the entire contents of your harddrive when you just 
  2864.         wanted to format a floppy disk. 
  2865.  
  2866.  
  2867.         NAME string
  2868.             This is the name you are giving to the disk you are 
  2869.         formatting.  The NAME keyword is absolutly mandatory. The 
  2870.         NAME can be up to 31 characters long and if it contains 
  2871.         spaces must be contained in quotes.
  2872.  
  2873.         NOICONS
  2874.             With this keyword prevents the Trashcan from getting 
  2875.         created during the format process.
  2876.  
  2877.         QUICK
  2878.             This keyword makes FORMAT initialize only write over 
  2879.         the root-block, the boot block, and the bitmap block, 
  2880.         without formating the rest of the disk. This is good to 
  2881.         do whenever you are formatting a disk that already has 
  2882.         been formated before because it is many times faster. 
  2883.         But, this keyword will not work if the disk has never 
  2884.         been formatted before.
  2885.  
  2886.         FFS
  2887.             This keyword forces the disk to be formatted with the 
  2888.         Fast File System (FFS). FFS lets you keept much more 
  2889.         information on the disk than the OFS (Old File System).  
  2890.         WB 1.3 cannot boot from FFS and may have trouble reading 
  2891.         them. 2.x/3.x use this by default.
  2892.  
  2893.  
  2894.         EXAMPLES
  2895.  
  2896.             1. To format a disk in Df1: and naming it My_Disk:
  2897.  
  2898.         FORMAT DRIVE df1: NAME My_Disk:
  2899.  
  2900.  
  2901.     GET (2.x/3.x Only) (Internal Command)
  2902.  
  2903.     
  2904.     NAME
  2905.             GET - Shows the contents of a local environment 
  2906.         variable.
  2907.  
  2908.     SYNOPSIS
  2909.             GET varname
  2910.         
  2911.     DESCRIPTION
  2912.             A named text string that is stored in an environment 
  2913.         space is a local environment variable. It can only be 
  2914.         accessed through the shell it was created in or from a 
  2915.         shell that was spawned from the shell it was created in.
  2916.  
  2917.             OK... so what's the difference between GET and 
  2918.         SETENV. Well, SETENV is stored in the RAM disk and is 
  2919.         global to all system functions. GET resides in some 
  2920.         private (reserved) memory that may only be accessed as 
  2921.         described above.
  2922.  
  2923.             By placing a dollar sign before the name, you can 
  2924.         swap the value of a local environment variable on the 
  2925.         command line. In other words, if you type 'ECHO $Peter' 
  2926.         you are creating the same local environment variable as 
  2927.         GET Peter.
  2928.  
  2929.     
  2930.     KEYWORDS
  2931.         varname  
  2932.             This is the name of the environment variable to get. 
  2933.  
  2934.             There are many local environment variables which are 
  2935.         already created by the 2.x/3.x operating systems. The 
  2936.         proper use of these makes AmigaDOS a very flexible and 
  2937.         powerful scripting language. The more important and 
  2938.         useful of these variables are:
  2939.  
  2940.         Process
  2941.             The process number of the current Shell
  2942.  
  2943.             Echo
  2944.             Decides whether or not the Shell will repeat each of 
  2945.         the commands as they are executed. If 'SET Echo on', then 
  2946.         the commands are repeated and displayed.  Anyother use of 
  2947.         Echo will not allow any commands to be repeated. Turning 
  2948.         Echo on helps you to debug any scripts that you are 
  2949.         having problems with, since there is no other way to tell 
  2950.         how they failed. With Echo on, you can tell which line in 
  2951.         the script failed to work.
  2952.  
  2953.         RC
  2954.             The return code of the last command that was 
  2955.         executed. You can manipulate this return code instead of 
  2956.         using IF WARN or IF FAIL commands structures. This is a 
  2957.         more efficient programming algorythm routine.
  2958.  
  2959.         Result2
  2960.             The error number of why the last command failed. You 
  2961.         can use the FAULT and/or WHY commands to try to figure 
  2962.         out the exact nature of the error.
  2963.  
  2964.  
  2965.     EXAMPLES
  2966.  
  2967.             1. To print the contents of an environment variable 
  2968.         named StupidMahedi:
  2969.  
  2970.              GET StupidMahedi
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.                GetEnv(V1.3, 2.x, 3.x)
  2977.  
  2978.  
  2979.  
  2980.      NAME
  2981.             GetEnv - display value of environment variable.
  2982.  
  2983.      SYNOPSIS
  2984.             GetEnv Name
  2985.  
  2986.      DESCRIPTION
  2987.             GetEnv displays the values of Environment variables. 
  2988.         These variables are accessible to all tasks (unlike GET 
  2989.         which is only accessible to the environment which created 
  2990.         it).
  2991.  
  2992.             GetEnv searches both the older Environment variables 
  2993.         and the new ENV:  handler if it exists. (Note that ENV: 
  2994.         is currently just a directory in RAM:, it is not a true 
  2995.         handler).
  2996.  
  2997.             GetEnv prints the contents of this file.
  2998.  
  2999.      KEYWORDS
  3000.           varname
  3001.             The name of the environmental variable to get. This 
  3002.         is the name of the file that is found in the ENV: 
  3003.         direrectory located in RAM:.           
  3004.  
  3005.           Kickstart/Workbench
  3006.         2.x/3.x Only:    
  3007.             These are created during startup. They contain the 
  3008.         version of your Kickstart and Workbench that is currently 
  3009.         being used by your system.
  3010.  
  3011.           Editor
  3012.         2.x/3.x Only:
  3013.             Some Workbench programs such as MORE are able to 
  3014.         recognize the environmental variables. If you set this 
  3015.         variable to the pathname of your favorite text editor, 
  3016.         then MORE allows you to bring up the program to edit the 
  3017.         current file by pressing Shift-E.
  3018.  
  3019.      SEE ALSO
  3020.            Set Get
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.             IF(V1.3 in C:) (2.x/3.x Internal)
  3028.  
  3029.  
  3030.  
  3031.      NAME
  3032.             IF - Add intelligent branching to scripts.
  3033.  
  3034.      SYNOPSIS
  3035.             IF NOT WARN ERROR FAIL string1EQstring2 
  3036.         string1GTstring2 string1GEstring2 VAL EXISTS
  3037.             
  3038.  
  3039.      DESCRIPTION
  3040.             If the condition tested by IF evaluates to TRUE, then 
  3041.         the commands immediately following the IF, up to the 
  3042.         following ELSE or ENDIF, are executed. If the condition 
  3043.         tested by IF evaluates to FALSE, it moves the execution 
  3044.         of the file ahead to the command following the next ELSE 
  3045.         command (if there is one), or to ENDIF, if there is no 
  3046.         intervening ELSE.
  3047.  
  3048.             The ELSE command (if used) must show up between the 
  3049.         IF and ENDIF statements.
  3050.  
  3051.      CONDITIONS
  3052.             Each of the following will evaluate to true or false:
  3053.  
  3054.           WARN 
  3055.             This will be true if the return code value set by the 
  3056.         last command is greater than or equal to 5.
  3057.  
  3058.           ERROR
  3059.             This will be true if the return code value set by the 
  3060.         last command is greater than or equal to 10.
  3061.  
  3062.           FAIL
  3063.             This will be true if the return code value set by the 
  3064.         last command is greater than or equal to 20.  Note that 
  3065.         you will have to use a Failat command to raise the 
  3066.         default fail limit from 10 to above 20 if you wish to use 
  3067.         this test.
  3068.  
  3069.           string1EQstring2
  3070.             This takes two strings, and will be true if both 
  3071.         arguments are the same (i.e., EQUAL).  The default is a 
  3072.         string comparison, but see VAL, below. The comparison is 
  3073.         not case sensitive. The test can be reversed by using the 
  3074.         NOT keyword with it. It can be a numberic comparison if 
  3075.         you utilize the VAR keyword. Strings 1 & 2 are normally 
  3076.         text, if there are spaces in the strings then quotes must 
  3077.         be placed around it. 
  3078.  
  3079.             Environmental variables may also substitute a string 
  3080.         by using a dollar sign ($) directly before the the 
  3081.         variable name (so, $Amount represents the variable 
  3082.         Amount).
  3083.  
  3084.           string1GEstring2 
  3085.             Takes two arguments. This will be true if the first 
  3086.         argument is Greater than or Equal to the second argument.  
  3087.         This may be combined with NOT (see below) to perform a LT 
  3088.         (less than) test. The default comparison is a string 
  3089.         compare, use VAL to compare numbers.  Strings 1 & 2 are 
  3090.         normally text, if there are spaces in the strings then 
  3091.         quotes must be placed around it. 
  3092.  
  3093.             Environmental variables may also substitute a string 
  3094.         by using a dollar sign ($) directly before the the 
  3095.         variable name (so, $Amount represents the variable 
  3096.         Amount).
  3097.  
  3098.           string1GTstring2
  3099.             Takes two arguments. This will be true if the first 
  3100.         argument is Greater than the second.  This may be 
  3101.         combined with NOT (see below) to construct a LE (less 
  3102.         than or equal to) test.  The default comparison is a 
  3103.         string compare, but use VAL to compare numbers. Case 
  3104.         sensitivity does not matter. Strings 1 & 2 are normally 
  3105.         text, if there are spaces in the strings then quotes must 
  3106.         be placed around it. 
  3107.  
  3108.             Environmental variables may also substitute a string 
  3109.         by using a dollar sign ($) directly before the the 
  3110.         variable name (so, $Amount represents the variable 
  3111.         Amount).
  3112.  
  3113.           EXISTS
  3114.             This takes one argument, which should be a device, 
  3115.         file or directory.  This will be TRUE if the device, file 
  3116.         or directory exists. 
  3117.  
  3118.      MODIFIERS
  3119.             The following options to IF modify the meaning of the 
  3120.         above tests:
  3121.  
  3122.           NOT  
  3123.             Inverts the sense of the test.  This is always used 
  3124.         in combination with another keyword. As an example, the 
  3125.         line: "If NOT EQ" will be TRUE if the EQ is false. This 
  3126.         modifier combines with any of the others.
  3127.  
  3128.           VAL 
  3129.             This affects the type of compare done by the EQ GT 
  3130.         and GE keywords. By default, the comparison is a string 
  3131.         compare.  However, if you specify this keyword, the 
  3132.         comparison performed is numeric.
  3133.  
  3134.             If you don't use the VAL keyword then the string will 
  3135.         be compared one numeral at a time from left to right.  
  3136.         For instance the string 22 will be shown to be greater 
  3137.         than 011 since the first character is 0 in the second
  3138.         string which is smaller than 2 in the first.
  3139.  
  3140.      OTHER
  3141.             2.x/3.x contains this command is internal. The only 
  3142.         other difference between the 1.3 & 2.x/3.x version is 
  3143.         that the 2.x/3.x version can be executed directly from 
  3144.         the command line, while the diskbased version cannot.
  3145.  
  3146.           
  3147.      EXAMPLE
  3148.             1. If you are running Workbench 3.0, the CLI will say 
  3149.         "An Execellent decsion. If you are running any other OS 
  3150.         then you get a message saying "Why not?"
  3151.  
  3152.           IF EXISTS Workbench3.0
  3153.               Echo "An excellent decision!"
  3154.           ELSE
  3155.               Echo "Why not?"
  3156.           ENDIF
  3157.  
  3158.      SEE ALSO
  3159.            Execute Assign
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.             Info(V1.3, 2.x, 3.x in C:)              
  3167.  
  3168.  
  3169.      NAME
  3170.             Info - report information about mounted file 
  3171.         system(s).
  3172.  
  3173.      SYNOPSIS
  3174.           Info NAME DATES
  3175.  
  3176.      DESCRIPTION
  3177.             This command displays important and useful 
  3178.         information about each disk unit. INFO displays what disk 
  3179.         volumes are in use and the amount of strorage they have.
  3180.  
  3181.             INFO also will display the name of all the disks 
  3182.         residing in any physical disk drive. This is helpful if 
  3183.         you in helping you remember what volumes are mounted 
  3184.         where. You also get a list of available volumes is also 
  3185.         listed (those mounted and unmounted).
  3186.  
  3187.             The 3 1/2 inch disk has 880k of space available to 
  3188.         them. After you format it under OFS (Old File System) you 
  3189.         only have 837k left. If you use FFS (Fast File System) 
  3190.         you have a full 879k to use. If you are fortunate enough 
  3191.         to have a high density drive, then you can use 1759k of 
  3192.         disk space. 
  3193.  
  3194.             The entire disk format is stored in sectors. There 
  3195.         are 1758 usable sectors on the Amiga disk. OFS's divide 
  3196.         each sector into 488 bytes whereas FFS has a full 512 
  3197.         bytes per sector. High Density disks use 3518 bytes per 
  3198.         sector. INFO will report the number of sectors already 
  3199.         used on the disk and how many are available for use. RAM: 
  3200.         is dynamic.  That means, it will always be reported as 
  3201.         100% full (even if it is empty) and will expand as needed 
  3202.         until it is full.
  3203.  
  3204.             INFO will also report if there are any 'soft' errors 
  3205.         on your disk.  So, what is a soft error? Well, it is a 
  3206.         temporary error. For example, an error reading 
  3207.         information from a disk. If the system cannot read the 
  3208.         information off the disk, it will retry a couple times. 
  3209.         If all reads fail then you have a hard error. If one of 
  3210.         your reads is successful then the original read that 
  3211.         failed is flagged as a soft error.
  3212.  
  3213.             It also reports whether or not disk disk is write 
  3214.         protected. If it is listed as 'Read Only' then your write 
  3215.         protection tab is set.  If it is listed as 'Read/Write' 
  3216.         then it can be written to as well as read. The RAM: disk 
  3217.         cannot be protected from reading or writing, but the 
  3218.         files you put in there can be protected from deletion 
  3219.         with the use of the PROTECT command.
  3220.           
  3221.         
  3222.     KEYWORDS
  3223.  
  3224.           NAME
  3225.             This keyword lets you get the information of one 
  3226.         particular device without getting all the info for 
  3227.         everything else.
  3228.  
  3229.     
  3230.      EXAMPLES
  3231.  
  3232.             1. To show the information regarding the disk volumes 
  3233.         known to the filing system:
  3234.  
  3235.             INFO
  3236.  
  3237.             2. To print out the information regarding the disk 
  3238.         volumes known to the filing system:
  3239.  
  3240.             INFO > PRT:
  3241.  
  3242.             3. To show only the information pertaining to df1:
  3243.  
  3244.             INFO df1:
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.  
  3251.              Install(V1.3, 2.x, 3.x in C:)
  3252.  
  3253.  
  3254.  
  3255.      NAME
  3256.             Install - Do the magic which makes a disk bootable.
  3257.  
  3258.      SYNOPSIS
  3259.             Install Drive NOBOOT CHECK
  3260.  
  3261.      DESCRIPTION
  3262.             This command should be used on all formatted floppy 
  3263.         disks that you might wish to startup the system with.  
  3264.  
  3265.             INSTALL adds the minimum amount of information to 
  3266.         make that disk bootable. If a blank disk is INSTALLed it 
  3267.         will bring up the AmigaDOS prompt, but that's it. To 
  3268.         invoke any AmigaDOS commands the entire path to that file 
  3269.         must be included.
  3270.  
  3271.             If you boot with the INSTALLed disk, it becomes the 
  3272.         Sys: directory.
  3273.  
  3274.             If you use INSTALL on a non-Amiga formatted disk, or 
  3275.         one with a custom boot-block, you will probably destroy 
  3276.         that disk. So, be careful how you use this command.
  3277.  
  3278.             The drive specified may be one of DF0:, DF1:, DF2: or 
  3279.         DF3:.
  3280.  
  3281.      OPTIONS
  3282.           CHECK
  3283.             This option checks to see if a disk is bootable, and 
  3284.         if standard bootblock code is installed on the disk.  For 
  3285.         use in script files, if the disk is bootable and contains 
  3286.         standard bootblock code, the error code is set to zero, 
  3287.         otherwise, the error code is set to WARN.
  3288.  
  3289.           NOBOOT
  3290.             This option removes any bootblock from a DOS disk, 
  3291.         and may also be used to make a non-DOS diskette readable 
  3292.         as a DOS diskette. This can be used to get rid of 
  3293.         unwanted information (aka Virus's) that may be hanging 
  3294.         out on your diskette.
  3295.  
  3296.           FFS
  3297.             The disk will usually be given the boot block 
  3298.         associated with that particular file system (OFS- Old 
  3299.         File System for 1.3 or FFS- Fast File System for 
  3300.         2.x/3.x). This will force your system to install an FFS 
  3301.         disk in Workbenches under 2.1. After and including 2.1 
  3302.         you are unable to force an FFS disk on an OFS only 
  3303.         system.
  3304.  
  3305.  
  3306.           SINGLE DISK DRIVE WARNING!!!
  3307.  
  3308.             If you're not careful with your this program you can 
  3309.         ruin your Workbench disk. Here's how to INSTALL a disk on 
  3310.         a single drive system.
  3311.  
  3312.             You will not be prompted to enter the disk after you 
  3313.         type INSTALL. So, this makes using INSTALL on single disk 
  3314.         systems very dangerous. Normally, your C: directory will 
  3315.         be assigned to the Sys: disk in df0:. So, if you insert 
  3316.         the Workbench disk in df0: then type INSTALL ?, you will 
  3317.         then get a command template that looks like this: 
  3318.         DRIVE/A. Now, eject your Workbench disk then put in the 
  3319.         one you wish to install and  then type DF0: after the 
  3320.         template then return. Now, the disk you wanted to install 
  3321.         will be installed. 
  3322.  
  3323.  
  3324.           EXAMPLES
  3325.  
  3326.             1. To install a boot file on the disk in df2:
  3327.  
  3328.                 INSTALL DRIVE df2:
  3329.             
  3330.  
  3331.  
  3332.  
  3333.  
  3334.             IPREFS (ONLY in 2.x/3.x) (located in C: directory)
  3335.  
  3336.  
  3337.         NAME
  3338.  
  3339.             IPREFS - Managages the Preferences scheme in 2.x/3.x.
  3340.  
  3341.            SYNOPSIS
  3342.  
  3343.             IPREFS QUIT
  3344.  
  3345.         DESCRIPTION
  3346.  
  3347.             This command will read all the preference settings in 
  3348.         the ENV:Sys directory and puts those settings into 
  3349.         effect. IPREFS hangs out in memory and looks out for 
  3350.         changes made to the preference settings.
  3351.  
  3352.             For IPREFS updating functions to work you must have 
  3353.         all the windows of any process running closed that have 
  3354.         opened up on the Workbench. You willknow if you have 
  3355.         something open when you try to reset a Preference setting 
  3356.         and get a message saying: 'Intuition is attempting to 
  3357.         reset the Workbench screen. Please close all windows 
  3358.         except drawers.' If you get this during bootup then you 
  3359.         probably entered a command in the startup-sequence before 
  3360.         IPREFS was run. This is a good reason why you should not 
  3361.         alter your startup-sequence and make any extra programs 
  3362.         run from your user-startup script. But, if you absolutly 
  3363.         must enter a command before IPREFS, then run its output 
  3364.         to NIL:. So, to run 'NeatProgram Keywords Arguments'    
  3365.         before IPREFS, then you should enter it as 'NeatProgram 
  3366.         >NIL: Keywords Arguments'.
  3367.  
  3368.         KEYWORDS
  3369.  
  3370.             QUIT
  3371.             Under 2.x only: This lets you quit IPREFS while not 
  3372.         keeping all the Prefrences intact. This keeps anything 
  3373.         from changing the preferences as they are updated. This 
  3374.         was removed under 3.x.
  3375.  
  3376.             NOTE: IPREFS is started during system startup. If you 
  3377.         try to run it again you will get an error message saying 
  3378.         that you already have it runnig and that you can't run it 
  3379.         again.
  3380.  
  3381.  
  3382.  
  3383.  
  3384.  
  3385.  
  3386.             Join(V1.3, 2.x, 3.x in C:)
  3387.  
  3388.  
  3389.  
  3390.      NAME
  3391.             Join - Combines (joins) many files into one larger 
  3392.         file.
  3393.  
  3394.      SYNOPSIS
  3395.             Join name1 name2.... AS or TO destname
  3396.  
  3397.      DESCRIPTION
  3398.             This program combines several files into one larger 
  3399.         file, which may also be a device such as a printer or 
  3400.         modem.  It accepts wildcards as its arguments. Wildcards 
  3401.         are only supported under 2.x/3.x. 1.3 MUST have more than 
  3402.         one name.
  3403.  
  3404.             This command will alphabetize the wildcarded 
  3405.         filenames before using them. If you specify only one 
  3406.         name, then a simple Copy will result. Any number of files 
  3407.         may be specified in the command line, and each one may be 
  3408.         a wildcard specification.
  3409.  
  3410.      KEYWORDS
  3411.           name1 name2...
  3412.             These are the files you will combine. Under 1.3 you 
  3413.         must place at least two names here, with a space between 
  3414.         each name (up to 15). 
  3415.  
  3416.  
  3417.           AS or TO
  3418.             This is the name of the new file into which the 
  3419.         contents of the other files are placed. This can be a new 
  3420.         file or an old file, but it can't be any of the files 
  3421.         which precede the AS or TO keyword. 
  3422.  
  3423.      ADDITIONAL CONSIDERATIONS
  3424.             You may prefer to use TYPE for joining files rath 
  3425.         than JOIN.  JOIN is included for backward's compatibility 
  3426.         with batch scripts. The one advantage of Join is that it 
  3427.         runs a bit faster than TYPE concatenating large files.
  3428.  
  3429.      EXAMPLE
  3430.  
  3431.             1. To combine the three files File1 File2 and File3 
  3432.         into one large file named FILES1-3.  Note that the 
  3433.         original files are unharmed.
  3434.  
  3435.             Join File1 File2 File3 AS FILES1-3
  3436.  
  3437.  
  3438.  
  3439.  
  3440.  
  3441.  
  3442.             Lab(V1.3 in C:) (2.x, 3.x in C:)
  3443.  
  3444.  
  3445.  
  3446.      NAME
  3447.             Lab - Define a label for Skip.
  3448.  
  3449.      SYNOPSIS
  3450.             Lab label_name
  3451.  
  3452.      DESCRIPTION
  3453.             Lab is used to define a label for use with skip.  Lab 
  3454.         by itself defines a null label. Note that if an EndSkip 
  3455.         is encountered by Skip before the Label Skip is searching 
  3456.         for is found, the search will be aborted at that point.
  3457.  
  3458.          
  3459.      EXAMPLE
  3460.  
  3461.             1. In this example, only "But this will" will display 
  3462.         on the CLI. Just type this script out and run it to see 
  3463.         exactly how it works:
  3464.  
  3465.           Skip DODAH
  3466.           Echo "This will not display"
  3467.           Lab DODAH
  3468.           Echo "But this will"
  3469.  
  3470.      SEE ALSO
  3471.           Skip EndSkip
  3472.  
  3473.      CAUTION
  3474.       With the V1.3 version of SKIP, you should NOT
  3475.       indent a LAB statement or that label will not be found.
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.                   List(V1.3, 2.x, 3.x in C:)
  3483.  
  3484.  
  3485.  
  3486.      NAME
  3487.           List - List contents of a directory.
  3488.  
  3489.      SYNOPSIS
  3490.           List listname Dir P=PAT/k KEYS/s DATES/s NODATES/s SUB/k
  3491.                SINCE/k SORT/s TO/k UPTO/k QUICK/s BLOCK=BLOCKS/s
  3492.                NOHEAD/s FILES/s DIRS/s LFORMAT/k
  3493.  
  3494.      DESCRIPTION
  3495.             List displays the contents of a given directory.  By 
  3496.         contents, we mean the names of the subordinate files and 
  3497.         directories, not the file data.  Typing the List command 
  3498.         by itself with no parameters generates a listing of the 
  3499.         current directory. It also lists any comments attached by 
  3500.         a FILENOTE command.
  3501.  
  3502.      THE LISTING DISPLAY
  3503.             List displays your files and directories one per 
  3504.         line, with all the protection flags currently turned on 
  3505.         right next to the filename.  The fields which may appear 
  3506.         in a Listed file are
  3507.  
  3508.           name [KEY] size/type protection date time
  3509.           :comment
  3510.  
  3511.             Methods are provided for getting a selective listing 
  3512.         of files, as well as suppressing/adding most of the above 
  3513.         display elements.  
  3514.  
  3515.             A description of each one of the above elements is 
  3516.         given below:
  3517.  
  3518.           Name 
  3519.             The name of the file or directory. This can be a 
  3520.         device or volume name. AmigaDOS wildcards are supported 
  3521.         100%.  The inclusion of wildcards eliminates the need for 
  3522.         the P (or PAT) keyword. PAT is retained to keep 
  3523.         compatiblility with older versions of AmigaDOS.
  3524.  
  3525.           KEY
  3526.             This is the actual block number of the file or 
  3527.         directory block header.  This is not displayed by 
  3528.         default, you must use the KEYS switch to generate this 
  3529.         element of the listing.
  3530.  
  3531.           size/type
  3532.             This element gives the size of the file in bytes, or 
  3533.         the string "empty" if the file is empty. If this is a 
  3534.         directory and not a file, then the directory indicator 
  3535.         ("Dir") will appear here.
  3536.  
  3537.           protection
  3538.             The protection bits of the current file, in the order 
  3539.         hsparwed.  If any of these is disabled, a dash (-) will 
  3540.         appear in its place. The protection bits stand for 
  3541.         "hidden, script, pure, archived, read, write, execute and 
  3542.         delete", respectively.
  3543.  
  3544.           date time
  3545.             The date and time of the last modification to the 
  3546.         file or directory.  The format of the date display is 
  3547.         determined by the value of the environment variable 
  3548.         dateformat.  These elements of the listing appear by 
  3549.         default, but may be selectively added or subtracted by 
  3550.         using the DATES or NODATES keywords.
  3551.  
  3552.           comment
  3553.             The comment as set by Filenote.  If no comment 
  3554.         exists, this field will not be displayed.  Note that it 
  3555.         is displayed on a line by itself, preceded by a colon.
  3556.  
  3557.  
  3558.      SELECTIVE LISTING OF FILES
  3559.             The methods described in this section allow you to 
  3560.         list a portion of the files and directories on your 
  3561.         disks. Ways exist to generate a list of files that 
  3562.         conform to a certain pattern, or that were 
  3563.         created/modified before or after a certain date.  You may 
  3564.         also combine these options, for example, you may get a 
  3565.         list of all files which end in .c and were created or 
  3566.         modified since a certain date. These options are 
  3567.         described below:
  3568.  
  3569.           Dir  
  3570.             List this directory instead of the current directory.  
  3571.         This parameter may be a filename, in which case the 
  3572.         single file is shown.  You may also use any legal 
  3573.         AmigaDos pattern in this position, in which case the 
  3574.         files and directories listed will be those which match 
  3575.         the pattern, if any.  (This feature was added to the BCPL 
  3576.         List in the V1.3 enhancer.)
  3577.  
  3578.           PAT 
  3579.             List only files and directories which match the 
  3580.         pattern. You must specify the keyword PAT or its 
  3581.         abbreviation P.  This is no longer truly necessary with 
  3582.         the expanded capabilities of AmigaDOS wildcards, since it 
  3583.         is usually more convenient to simply include the pattern 
  3584.         in the directory specification as described above.  It is 
  3585.         included for BCPL compatibility.
  3586.  
  3587.           SUB  
  3588.             In this option the SUB keyword must come before the 
  3589.         string. If spaces are in the string, it must be enclosed 
  3590.         in quotes. With the inclusion of AmigaDOS wildcards, this 
  3591.         keyword is really not needed. It searches for an 
  3592.         occurence of the substring anywhere within the directory 
  3593.         name or filename.  Think of this as a short form of "List 
  3594.         PAT *substring*" or a long form of "List *substring*".  
  3595.         List will reject any attempts to combine the use of PAT 
  3596.         and S.  Wildcards in the initial DIR argument are matched 
  3597.         and then checked again to match against the substring.
  3598.  
  3599.           SINCE
  3600.             While the pattern matching options above filter files 
  3601.         and directories on the basis of their names, this option, 
  3602.         and the following UPTO option, filter out files based on 
  3603.         their last modification date. SINCE displays only files 
  3604.         which have been created or modified on or later than the 
  3605.         specified date.  All older files are not displayed.  You 
  3606.         may specify the date in the currently defined dateformat 
  3607.         (see Environment Variables) or you may use a word such as 
  3608.         SUNDAY, TODAY, YESTERDAY, etc.
  3609.  
  3610.           UPTO 
  3611.             The inverse of SINCE, this option displays only files 
  3612.         and directories which have been modified or created on or 
  3613.         before the specified date.  Files younger than this date 
  3614.         are not displayed. See SINCE for a description of the 
  3615.         date format list expects.
  3616.  
  3617.           FILES
  3618.             Display only files, and not the directories.
  3619.  
  3620.           DIRS
  3621.             Display only directories, and not the files.
  3622.  
  3623.      CONTROLLING THE DISPLAY
  3624.             The options below allow you to alter the format of 
  3625.         the display listing, or to send it to another file or 
  3626.         output display device (that's usually a printer).
  3627.  
  3628.           TO   
  3629.             You can specify a file or a device you wish the 
  3630.         listing to be sent to using this keyword.  If not 
  3631.         specified, the default of the current screen will be 
  3632.         used. If the file already exists then the old file will 
  3633.         be replaced (and gone forever) while being replaced with 
  3634.         this new file. If the protection bit is set on the old 
  3635.         file LIST will not work. It is very useful to LIST TO 
  3636.         prt: to get a hard copy of your disk listing.
  3637.  
  3638.           DATES
  3639.             Forces the date and time of creation to be displayed 
  3640.         in the current dateformat. This keyword does not have to 
  3641.         be used unless you are using the QUICK or NODATES 
  3642.         keywords. 
  3643.  
  3644.           NODATES
  3645.             Will not display time and date information, only the 
  3646.         filename, size, protection and comment fields will be 
  3647.         displayed. Using DATES with this will force the creation 
  3648.         dates and times to display.
  3649.  
  3650.           QUICK
  3651.             Displays only the filename field, one filename per 
  3652.         line, with no trailing spaces. You can LIST just the 
  3653.         files or direcotries by using the FILES or DIR options.  
  3654.         You can combine this with other options such as DATES and 
  3655.         KEYS to selectively enable these fields.  Under 2.x/3.x 
  3656.         KEYS no longer works with this keyword.
  3657.  
  3658.           KEYS 
  3659.             Displays the block number of each file header or 
  3660.         directory header. All files are assigned using block 
  3661.         numbers. This is how AmigaDOS keeps track of your files.  
  3662.         Each file has a unique block number assigned to it.  This 
  3663.         is its address on the disk. The block number appears to 
  3664.         the left of the file length.
  3665.  
  3666.           SORT 
  3667.             Sorts the file and directory names into ascending 
  3668.         alphabetical order.  Case is disregarded. Note that this 
  3669.         is an option available only with the ARP list.  Sorts by 
  3670.         DATE if you include the DATES keyword.
  3671.  
  3672.           BLOCK=BLOCKS
  3673.             Displays filesizes in blocks, rather than bytes.
  3674.  
  3675.           NOHEAD
  3676.             Suppresses the default "Directory..." header and the 
  3677.         "x files -x directories -x blocks used" footer display.
  3678.  
  3679.           LFORMAT
  3680.             LFORMAT can be used to control the output of list, 
  3681.         and especially to generate command lines to be fed to the 
  3682.         shell. LFORMAT can is most useful when you want to 
  3683.         generate a script file. To send the LIST output to a 
  3684.         script file, you can either redirect LIST's output using 
  3685.         the ">" or "TO" keywords. LFORMAT takes a string as an 
  3686.         argument which can be any ascii string.  
  3687.  
  3688.             The LFORMAT substring can be used multiple times. 
  3689.         This allows you to use the listing name more than once 
  3690.         per line. The second time you use the string the first 
  3691.         relative path will be replaced by %S, and the path of the 
  3692.         second argument will be used (BTW, a relative path is 
  3693.         merely the list of directories you must traverse to get 
  3694.         from the specified directory to the current one.) If you 
  3695.         use three substrings, then the first will be replaced by 
  3696.         the relative path, while the second and third will be the 
  3697.         file or subdirectory names. If you use it four times, the 
  3698.         first and third will be the relative paths, and the 
  3699.         second and fourth will be the subdirectory or file names.
  3700.  
  3701.             To include the output of List in this string, you can 
  3702.         use the "%S" sequence under 1.3 or 2.x/3.x as follows:
  3703.  
  3704.                   "%S"       Filename
  3705.                   "%S%S"     Pathname/Filename
  3706.                   "%S%S%S"   Pathname/FilenamePathname
  3707.                   "%S%S%S%S" Pathname/FilenamePathname/Filename
  3708.  
  3709.             The following information may be substituted for the 
  3710.         string as output and is for 2.x/3.x Only:
  3711.  
  3712.                 %A   :Attributes (protection flags)
  3713.                 %B     :Size of file in blocks
  3714.                 %C     :Comments attached to the file
  3715.                 %D     :Date of file creation or last update
  3716.                 %F     :The complete absolute path (starting with the 
  3717.                       volume name)
  3718.                 %K     :Key block number
  3719.                 %L     :Length of the file in bytes
  3720.                 %N     :Name of the file
  3721.                 %P     :The relative path(starting at the current directory)
  3722.                 %T     :Time of creation or last update
  3723.  
  3724.             The following information may be substituted for the 
  3725.         string as output and is for 2.1/3.x Only:
  3726.  
  3727.                 %E     :Extension only (the part of the filename after the
  3728.                       last period)
  3729.                 %M     :Filename minus the extension (everything up to
  3730.                       the last period)
  3731.                 ALL  :Lists the contents of all the subdirectories of the
  3732.                       specified directory, as well as the directory itself.
  3733.  
  3734.             The %S's may be separated by spaces, other ascii text 
  3735.         or nothing, as above.  Here is an example of LFORMAT that 
  3736.         will create a script to Type each file:
  3737.  
  3738.                List LFORMAT="Type %S%S"
  3739.  
  3740.             Of course, to use this, you must save it in a file 
  3741.         using TO or one of the IO Redirection operators ('>', 
  3742.         '>>').  If you are using 2.x/3.x, you can also pipe the 
  3743.         output of List directly into the Execute command.  
  3744.  
  3745.      ENVIRONMENT VARIABLES
  3746.             The List uses the same dateformat variable as used by 
  3747.         the Date command, and in essentially the same way.  If it 
  3748.         is not defined, or if it has an illegal value, the 
  3749.         default AmigaDOS display and input is used.  Otherwise, 
  3750.         the display and the input of dates is determined as 
  3751.         follows:
  3752.  
  3753.           0    AmigaDOS format DD-MMM-YY.
  3754.  
  3755.           1    International format YY-MM-DD.
  3756.  
  3757.           2    U.S. format MM-DD-YY.
  3758.  
  3759.           3    Canada DD-MM-YY
  3760.  
  3761.             If you prefix the above numbers with a dash, then the 
  3762.         display of names like TODAY, MONDAY, FUTURE, etc., will 
  3763.         be disabled and the format string as defined above will 
  3764.         be used exclusively. Note that this governs the format 
  3765.         that List expects as input as well as the format List 
  3766.         uses for display.
  3767.  
  3768.      EXAMPLES
  3769.           
  3770.             1. To display all files in df1: ending with the 
  3771.         characters "#?.c" which were modified later than TUESDAY 
  3772.         at 00:00 hours.
  3773.  
  3774.             List df1:#?.c SINCE WEDNESDAY
  3775.  
  3776.             2. To output just the names and dates for items in 
  3777.         the current directory beginning with the letters 'stuff' 
  3778.         that were created or last updated on or before April 16, 
  3779.         1967. Sent the output out to a file called 'StuffOut' in 
  3780.         the Ram:T directory.
  3781.  
  3782.             LIST stuff#? QUICK DATES UPTO 16-Nov-67 TO Ram:T/StuffOut
  3783.  
  3784.  
  3785.             3. To list the information about the contents of the 
  3786.         current CLI directory.
  3787.  
  3788.             LIST
  3789.  
  3790.  
  3791.             4. To print the block number of all the files in the 
  3792.         current directory.
  3793.  
  3794.             LIST KEYS to PRT:
  3795.  
  3796.                 or
  3797.  
  3798.             LIST > PRT: KEYS
  3799.  
  3800.  
  3801.             5. To display the information about the files in the 
  3802.         directory art/adult whose names contain the string 
  3803.         'girls'
  3804.  
  3805.             LIST art/adult/#?girls#?
  3806.  
  3807.             (note: Information about both 'Really Ugly Girls' and 
  3808.               PrettyGirls would be displayed)
  3809.  
  3810.  
  3811.             6. To set the pure bit of every file in the stuff: 
  3812.         directory.
  3813.  
  3814.             LIST >RAM:ThisFile stuff:#? LFORMAT "protect %S +p"
  3815.     
  3816.             (now you have a file called Ram:ThisFile which contains
  3817.             the commands to set the PROTECT bit on all the files in the
  3818.             stuff: directory. Now, just EXECUTE RAM:ThisFile
  3819.  
  3820.  
  3821.  
  3822.  
  3823.  
  3824.  
  3825.               LoadLib(V1.3 only)
  3826.  
  3827.  
  3828.  
  3829.      NAME
  3830.             LoadLib -- Explicitly load an Amiga library.
  3831.  
  3832.      SYNOPSIS
  3833.             LoadLib dev:dir/library-name
  3834.  
  3835.      DESCRIPTION
  3836.  
  3837.             THIS COMMAND IS NOT NEEDED BY 2.x/3.x. 
  3838.  
  3839.             UNDER 1.3 ONLY: This is a new command which is 
  3840.         occasionally very useful.  If you should happen to boot 
  3841.         from a disk that does not have arp.library in its libs 
  3842.         directory you will not be able to use the ARP commands 
  3843.         directly.  This is an unusual situation, but it can 
  3844.         happen.  LoadLib presents the solution to this problem by 
  3845.         allowing you to load the library directly from whatever 
  3846.         directory you want.  After a successful LoadLib of 
  3847.         arp.library, you may use any ARP command you like.
  3848.  
  3849.             Note that you are not confined to loading 
  3850.         arp.library, any diskloadable library may be brought into 
  3851.         memory in this way, this can help a lot when your 
  3852.         bootdisk gets too crowded.
  3853.  
  3854.      EXAMPLE
  3855.             1. To boot from a disk without arp.library on it, and 
  3856.         then insert your boot disk in drive 1, then type:
  3857.  
  3858.                LoadLib df1:libs/arp.library
  3859.  
  3860.             This will allow you to execute any ARP command.  Note 
  3861.         that LoadLib cannot use arp.library, and therefore it is 
  3862.         missing some features, such as the advanced argument 
  3863.         parsing, that most ARP supplied commands have.
  3864.  
  3865.      OTHER
  3866.             This command was donated to ARP by William Hawes. The 
  3867.         founder of AREXX.ø
  3868.  
  3869.  
  3870.  
  3871.  
  3872.  
  3873.  
  3874.  
  3875.               LoadWB (V1.3, 2.X, 3.X in C:)
  3876.  
  3877.  
  3878.  
  3879.      NAME
  3880.             LoadWb -- To start the the WorkBench.
  3881.  
  3882.      SYNOPSIS
  3883.           1.x:
  3884.           LoadWB DELAY -DEBUG          
  3885.  
  3886.           2.x/3.X:
  3887.           LoadWB DELAY -DEBUG CLEANUP NEWPATH
  3888.  
  3889.      DESCRIPTION
  3890.  
  3891.             Normally it is found in your statup-sequence so that 
  3892.         your Workbench will be loaded when you start your Amiga. 
  3893.         The Workbench will set and keep track of all search paths 
  3894.         in effect as well as set the paths for each CLI or Shell 
  3895.         started from a Workbench icon.
  3896.  
  3897.             Under 1.x the Workbench will reinitialize whenever 
  3898.         you issue the LoadWB command. Under 2.x/3.x the Workbench 
  3899.         is reinit- ialized after selecting 'Update All' from the 
  3900.         Workbench menu. If you run LoadWB after it was already 
  3901.         loaded under 2.x/3.x then you will get an error message 
  3902.         saying that the Workbench is already loaded.          
  3903.  
  3904.        KEYWORDS
  3905.  
  3906.           DELAY
  3907.             This makes a three second pause before the program is 
  3908.         loaded.  This lets all the disk activity to stop before 
  3909.         going onto the next program in your startup-sequence to 
  3910.         start. If there is not a pause, then both commands will 
  3911.         try to access the floppy disk, this causes your floppy 
  3912.         drive to make a thrashing noise and slows down you disk 
  3913.         access tremendously.
  3914.             
  3915.  
  3916.           -DEBUG
  3917.             This adds a brand new menu item to your Workbench bar 
  3918.         which is not normally displayed. There are two items on 
  3919.         this menu.  Debug (called ROMWack on 2.x/3.x) and 
  3920.         Flushlibs. Debug (ROMWack) loads the ROMWACK debugger. 
  3921.         This is a developer's tool which communicates to your 
  3922.         Amiga via a 9600-baud terminal connection to the serial 
  3923.         port. If this terminal is not connected, your Amiga will 
  3924.         appear to lock up, since nothing will work until the 
  3925.         remote terminal sends commands. Flushlibs lets the 
  3926.         Workbench flush out all the libraries from memory that 
  3927.         are not in use.  This frees up a good deal of resources. 
  3928.         This is useful for the programmer to check if his program 
  3929.         exited cleanly and freed all memory that they allocated.
  3930.  
  3931.             1.x ONLY: DELAY or -DEBUG may be used, but not at the 
  3932.         same time.
  3933.  
  3934.  
  3935.           CLEANUP
  3936.             2.x/3.x Only: This performs a 'CleanUp' of the 
  3937.         Workbench window, making all your icons all neat and 
  3938.         orderly. This may also be done via the Window/CleanUp 
  3939.         while having the Workbench screen activated.
  3940.  
  3941.          NEWPATH
  3942.             2.x/3.x Only: This lets you change the path that the 
  3943.         Workbench uses. The Workbench usually remembers the CLI 
  3944.         or Shell path that issued the LoadWB command. This path 
  3945.         is automatically assigned to any Shell or CLI started 
  3946.         from an icon. This path can be changed by using the 
  3947.         NEWPATH keyword. The Workbench will then use the path 
  3948.         associated with the Shell window from which the command 
  3949.         was issued.
  3950.  
  3951.  
  3952.     EXAMPLES
  3953.  
  3954.             1. Load the Workbench and close the CLI:
  3955.  
  3956.             LOADWB DELAY
  3957.             ENDCLI >NIL:
  3958.  
  3959.             2. Load the Workbench with the DEBUG menu activated:
  3960.  
  3961.             LOADWB -DEBUG
  3962.  
  3963.             3. Add the SYS:File directory to the path that the 
  3964.         Workbench assigns to new Shell windows opened from icon:
  3965.  
  3966.             PATH SYS:File ADD
  3967.             LOADWB NEWPATH
  3968.  
  3969.  
  3970.  
  3971.  
  3972.             LOCK (1.X, 2.X, 3.X located in C:)
  3973.  
  3974.  
  3975.  
  3976.     NAME
  3977.             LOCK - Enables or disables the write protection of a 
  3978.         harddrive partition formatted under the Fast File System 
  3979.         (FFS).
  3980.  
  3981.     SYNOPSIS
  3982.         LOCK drive ON/OFF PASSWORD
  3983.  
  3984.     DESCRIPTION
  3985.             1.x only lets you enable or disable the write 
  3986.         protection of a FFS. 2.x/3.x it also enables or disables 
  3987.         the write protection of every kind of disk including 
  3988.         floppies. The drive is unlocked only when another LOCK 
  3989.         command is sent or reboot the computer.
  3990.  
  3991.     KEYWORDS
  3992.  
  3993.         DRIVE
  3994.             The name of the disk or partition. For 1.x, it can 
  3995.         only be a hard drive formatted with the FFS. 2.x/3.x lets 
  3996.         you LOCK floppy disks too. LOCK works a little 
  3997.         differently on floppies than other commands.  Normally, 
  3998.         when a command is set onto a floppy drive (eg. df0:) it 
  3999.         will only effect that particular disk. But, with LOCK, it 
  4000.         effects any and every disk inserted into the drive.
  4001.  
  4002.         ON/OFF
  4003.             This keyword lets you protect the disk (LOCK ON) or 
  4004.         write enable (LOCK OFF). The default is for the disk to 
  4005.         be write enabled.
  4006.  
  4007.         PASSWORD
  4008.             Under 1.2, this password had to be four characters 
  4009.         long. On Operating Systems 1.3 and above it can be of any 
  4010.         length.The password is considered to be a text string. 
  4011.         Therefor, if there are spaces in it, it must be enclosed 
  4012.         in quotes. If a a password was included in the LOCK ON 
  4013.         command, the same password keyword must be used in the 
  4014.         LOCK OFF command for the disk to be write enabled.
  4015.  
  4016.  
  4017.     EXAMPLES
  4018.             1.To protect harddrive partition Dh1: with a password 
  4019.         of saturn:
  4020.  
  4021.         LOCK DH1: ON saturn
  4022.  
  4023.  
  4024.             2. To turn off the same:
  4025.  
  4026.         LOCK DH1: OFF saturn
  4027.  
  4028.             or
  4029.  
  4030.         LOCK DH1: saturn
  4031.  
  4032.  
  4033.  
  4034.  
  4035.  
  4036.  
  4037.         MAGTAPE (2.x/3.x Only) (Located in C:)
  4038.  
  4039.     
  4040.     NAME
  4041.         MAGTAPE [DEVICE devicename] [UNIT unitname] [RET or
  4042.                  RETENSION] [REW or REWIND] [SKIP numfiles]
  4043.  
  4044.     SYNOPSIS
  4045.             MAGTAPE was added in 2.x to specifically control the 
  4046.         A3070 tape backup unit. Computer tape drives are 
  4047.         sequential. In other words, All computer tape drives, 
  4048.         like video or audio tapes, must be manually "fast 
  4049.         forward" or "rewind" to get to a particular file. 
  4050.         Random-access devices such as floppy drives, harddrives, 
  4051.         CDRoms, etc directly acess the information.
  4052.  
  4053.     KEYWORDS
  4054.         DEVICE devicename
  4055.             The devicename of unit to manipulate.
  4056.  
  4057.         UNIT unitname
  4058.             By default, MAGTAPE accesses SCSI unit four and
  4059.         utilizes the Commodore scsi.device. This is used because
  4060.         it is the factory defaults of the A3070. To change the
  4061.         SCSI unit number of the tape drive, or use a controlling
  4062.         device other than the scsi.device, you must specify both
  4063.         the device name of the SCSI controller (eg gvpscsi.device)
  4064.         as well as the unit number of the tape drive using both the
  4065.         DEVICE and UNIT keywords. There are usually dip switches
  4066.         in your unit that can be changed to correspond to any unit
  4067.         number you like. If you are unsure of the SCSI device driver
  4068.         your unit uses, then you should call the manufacturer. All
  4069.         SCSI drivers end in the extension: .device.
  4070.  
  4071.         RET or RETENSION
  4072.             This re-tensions the tape by fast-forwarding to the end
  4073.         then rewinding it.
  4074.  
  4075.         REW or REWIND
  4076.             Runs the tape to the beginning.
  4077.  
  4078.         SKIP numfiles
  4079.             Unit will run forward past a given number of files. 
  4080.         The variable 'numfiles' tells how many files to skip.
  4081.  
  4082.  
  4083.         EXAMPLE
  4084.  
  4085.             1. To rewind a scsi tapedrive attached to a GVP 
  4086.         controller whose unit number is set to two:
  4087.  
  4088.             MAGTAPE DEVICE gvpscsi.device UNIT 2 REW
  4089.  
  4090.         
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.              MakeDir(V1.3, 2.x, 3.x in C:)
  4098.  
  4099.  
  4100.  
  4101.      NAME
  4102.           MakeDir - Create any number of directories.
  4103.  
  4104.      SYNOPSIS
  4105.           MakeDir Dir/...
  4106.  
  4107.      DESCRIPTION
  4108.             MakeDir creates a new directory with the name you 
  4109.         give.  There is no limit to the number of directories you 
  4110.         may create with this command.  The directories will be 
  4111.         created in the order in which you supply them.  Note that 
  4112.         you cannot duplicate directories at the same level of the 
  4113.         directory tree, nor can you create a subdirectory until 
  4114.         its parent directory has been created.
  4115.         
  4116.             MakeDir allows you to create multi-tiered filing 
  4117.         systems on the same disk volume. To delete the 
  4118.         directories, you will use the DELETE command.
  4119.  
  4120.      EXAMPLE
  4121.             1. To make a directory named Jim:
  4122.  
  4123.           makedir Jim
  4124.  
  4125.             2. To make a directory named Mailbag inside the Jim 
  4126.         directory and the directories Jan and Feb which will 
  4127.         reside in the Mailbag directory of Jim that you just 
  4128.         created with the first part of the template.
  4129.  
  4130.           makedir Jim/Mailbag Jim/MailBag/Jan Jim/MailBag/Feb
  4131.  
  4132.  
  4133.  
  4134.  
  4135.     
  4136.             MAKELINK (2.x and 3.x only) (located in C:)
  4137.  
  4138.     NAME
  4139.             MakeLink - Creates links which point to other files.
  4140.  
  4141.     SYNOPSIS
  4142.             MakeLink [FROM fromname] [TO toname] [HARD] [FORCE]
  4143.  
  4144.     DESCRIPTION
  4145.             When a program asks for a file, they will get the 
  4146.         file linked to instead of that file itself. These links 
  4147.         are handy whenever you have different programs who want 
  4148.         to reference the same file in several different 
  4149.         directories. Let's say you like to read your docs with 
  4150.         ppmore. Well, many icons are configured to use More, Much 
  4151.         More, Multiview, or any other text viewer. Well, to use 
  4152.         your favorite reader (ppmore) you can make links that 
  4153.         direct all other readers to access ppmore instead.
  4154.  
  4155.             The only problem with MakeLink is that you cannot 
  4156.         make a link accross a devcice. Your link must reside on 
  4157.         the same volume or partition.
  4158.  
  4159.     KEYWORDS
  4160.  
  4161.         FROM fromname
  4162.             The name of the link file to create. You only need to include
  4163.         the FROM keyword if you have the fromname and toname reversed.
  4164.  
  4165.         TO toname
  4166.             The name of the file which will be linked to. This must be on
  4167.         the same volume as fromname, and cannot be a directory name unless
  4168.         you use the FORCE option is used.
  4169.  
  4170.         HARD
  4171.             An optional keyword is used to indicate that the link and its
  4172.         target are on the same volume. A soft link is when the link is on
  4173.         a different volume. This is currently not supported.
  4174.  
  4175.         FORCE
  4176.             This is to create a directory link. This is where the link file
  4177.         will look for a particular directory instead of file. This is certain
  4178.         to cause confusion within your file system, especially if the target
  4179.         directory contains linked files. It will also cause havoc if you 
  4180.         create a link to the parent directory of a target of another link.
  4181.         Even though MakeLink keeps you from making certain kinds of confusing
  4182.         links, you should be extra cautious when FORCING a link.
  4183.  
  4184.  
  4185.     EXAMPLES
  4186.  
  4187.             1. To make a file run the program c:ppmore instead of 
  4188.         C:more or C:muchmore
  4189.  
  4190.         MAKELINK c:ppmore c:more
  4191.         MAKELINK c:ppmore c:muchmore
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.            Mount(V1.3, 2.x, 3.x in C:)
  4198.  
  4199.  
  4200.  
  4201.      NAME
  4202.           Mount - Make a new device known to AmigaDOS.
  4203.  
  4204.      SYNOPSIS
  4205.           1.3:
  4206.           MOUNT Dev [FROM filename] STARTPROC
  4207.  
  4208.  
  4209.           2.x/3.x:
  4210.           MOUNT Devs [FROM filename]
  4211.  
  4212.      DESCRIPTION
  4213.             When AmigaDOS starts up, only a few devices are known 
  4214.         to it.  You can add new devices with the Mount command, 
  4215.         which are then used just like any standard device.  The 
  4216.         devices might be actual hardware units, or they might be 
  4217.         logical devices, such as a SPEAK: device, or a PIPE:  
  4218.         device, or a buffered serial device SER:, or even a 
  4219.         non-buffered serial device such as AUX:.  The Assign 
  4220.         command allows you to view or remove these added devices, 
  4221.         as well as the standard system devices.
  4222.  
  4223.             Before using this command to Mount the device, you 
  4224.         will need to create an entry for it in a file (this is 
  4225.         referred to as a MountList entry).  The details of doing 
  4226.         this vary from device to device, but there should be 
  4227.         documentation accompanying each device you intend to add 
  4228.         that describes exactly how to do this.  Ordinarily, you 
  4229.         will make this entry in the file called DEVS:Mountlist on 
  4230.         your system, but the FROM keyword gives you the option to 
  4231.         specify another file to obtain the mountlist entry from. 
  4232.         The 1.3 disk has a sample Mountlist file in the Devs: 
  4233.         directory. This will form a good example of how to 
  4234.         structure any mountlists you write.
  4235.  
  4236.             The size of the device is determined by the Surface, 
  4237.         LowCyl, HighCyl, and BlocksPerTrack entries. Merely 
  4238.         multiply these values together to get the available 
  4239.         storage. For example, if you had a device with a 
  4240.         Surface=2 (double sided), LowCyl= 0 and HighCyl=39 (40 
  4241.         tracks per side: 39 - 0 + 1), and with a 
  4242.         BlocksPerTrack=11 (11 sectors, each sector being 512 
  4243.         bytes) you would end up with a 440k drive (.5k X 2 X 11 X 
  4244.         40= 440K).
  4245.  
  4246.             For non-memory devices such as SPEAK:, AUX:, SER:, or 
  4247.         PIPE: the list simply shows where to find the handler. A 
  4248.         handler is a program similar to a device driver.
  4249.  
  4250.             The CLI commands FORMAT and DISKCOPY work with all 
  4251.         similar mounted devices. For instance, you can FORMAT or 
  4252.         DISKCOPY between two 3.5 inch drives and two 5.25 inch 
  4253.         drives, but not DISKCOPY between a 5.25-inch drive to a 
  4254.         3.5-inch drive.  If you try, you will get an "Object Not 
  4255.         Of Required Type" message.
  4256.  
  4257.             The MOUNT command looks for this Mountlist in the 
  4258.         DEVS: directory. This file is a text file that shares 
  4259.         some of the characteristics of the C programming 
  4260.         language. For instance, hexadecimal numbers must start 
  4261.         with the characters 0x. Semicolons must seperate multiple 
  4262.         descriptions on a line. Comments must appear like in all 
  4263.         AmigaDOS script comments, that is beginning with /* and 
  4264.         ending with */. The Mountlist must end with the pound 
  4265.         sign (ei #).
  4266.  
  4267.             2.X/3.X Only:
  4268.  
  4269.             There is a completely new and user-friendly way to 
  4270.         handle devices! There is a new drawer in your Workbench 
  4271.         called "DOSDrivers" inside your DEVS: directory. These 
  4272.         files are different from old mountlists in three ways: 1) 
  4273.         They don't end in a pound sign, 2) They contain only one 
  4274.         device name per file, and 3) the device name of the file 
  4275.         is not specified in the list. To mount the device, you 
  4276.         simply drag it into the DOSDrivers drawer and it will be 
  4277.         mounted automatically when the Workbench is loaded.  If 
  4278.         you don't want the mountlist loaded automatically at 
  4279.         startup, then simply place the mountlist in the 
  4280.         DOSDrivers drawer of the Storage directory.
  4281.  
  4282.       KEYWORDS FOUND IN THE MOUNT LIST
  4283.           Handler= 
  4284.             The name of the device handler file. Found in you l 
  4285.         or devs directory of your workbench.
  4286.  
  4287.           EHandler=
  4288.             2.x/3.x only: The name of the environment handler 
  4289.         file found in your prefs/env-arc directory of your 
  4290.         workbench.
  4291.  
  4292.           FileSystem= 
  4293.             The name of the file system file. Usually found in 
  4294.         your Devs or l directory of your Workbench.
  4295.  
  4296.           Device=  
  4297.             The name of your device driver file found in the Devs 
  4298.         drawer of your workbench. You can also specify a path to 
  4299.         another device location if you to locate the  driver in 
  4300.         another drawer.
  4301.  
  4302.           Priority= 
  4303.             The task priority of the process; 5 is typical of 
  4304.         handlers, 10 is typical of file systems.
  4305.  
  4306.           Unit= 
  4307.             The unit number of the device (ei 0 for df0: and 1 
  4308.         for df1:).
  4309.  
  4310.           Flags=  
  4311.             Flags setting for the OpenDevice call (usually 0).
  4312.  
  4313.           Surfaces= 
  4314.             Number of write surfaces.
  4315.  
  4316.           BlocksPerTrack:
  4317.             The number of disk blocks (eg sectors) per track (eg 
  4318.         cylinder).
  4319.  
  4320.           Reserved= 
  4321.             The number of blocks used for the boot block; 2 is 
  4322.         the standard here.
  4323.  
  4324.           PreAlloc= 
  4325.             The number of blocks reserved at the end of a 
  4326.         partition; used with a few IBM-style (yuk!) hard drives. 
  4327.         This is usually 0.
  4328.  
  4329.           Interleave=
  4330.             This value controls the AmigaDOS interleave, not the 
  4331.         physical hard drive interleave.
  4332.  
  4333.           LowCyl=
  4334.             Starting cylinder to use for this device.
  4335.  
  4336.           HighCyl= 
  4337.             Ending cylinder for this device. Total number of 
  4338.         cylinders= HighCyl - LowCyl +1. 
  4339.  
  4340.           StackSize=
  4341.             The amount of working memory to allocate to the 
  4342.         process.
  4343.  
  4344.           Buffers=
  4345.             Number of cache buffers to use with the device.
  4346.  
  4347.           BufMem Type=
  4348.             Type of memory to use for cache buffers. Values are 
  4349.         as follows: 
  4350.                             0 or 1 = Any
  4351.                             2 or 3 = CHIP
  4352.                             4 or 5 = FAST
  4353.  
  4354.           Mount=
  4355.             If this value is positive, MOUNT loads the handler or 
  4356.         driver software as soon as the device is MOUNTed, rather 
  4357.         than the first time the device is accessed.  2.1/3.x 
  4358.         utilizes the word ACTIVE as a synonym for this keyword.
  4359.  
  4360.           MaxTransfer=
  4361.             The maximum number of blocks transfered at one time; 
  4362.         used with the Fast File System only.
  4363.  
  4364.           Mask= 
  4365.             Address mask that specifies the memory range that can 
  4366.         be used for DMA transfers; used only with the Fast File 
  4367.         System.
  4368.  
  4369.           GlobVec= 
  4370.             If the handler is written in BCPL, it needs a global 
  4371.         vecotr. A value of 0 sets up a private global vector; 
  4372.         anything else indicates that the handler is written in C 
  4373.         or assembly language, and no global vector is needed.  If 
  4374.         this keyword isn't used, the shared AmigaDOS global 
  4375.         vector is used.
  4376.  
  4377.           Startup=
  4378.             A string passed to the handler, device, or file 
  4379.         system on startup. This string is passed as a BPTR to a 
  4380.         BSTR.
  4381.  
  4382.           BootPri=
  4383.             The boot priority of a bootable device, expressed as 
  4384.         a number between -129 and 127. A value of -129 indicates 
  4385.         that the device is not bootable, as is appropriate for 
  4386.         use with the recoverable RAM disk if you don't want to 
  4387.         boot from that device on reset.
  4388.  
  4389.           DosType=
  4390.             Indicates the format of the file system used. If the 
  4391.         Fast File System is used, this value should be set to 
  4392.         0x444F5301 (DOS/1). Other types introduced in 2.1 include 
  4393.         0x444F5302 (DOS/2), an international version of the old 
  4394.         file system that allows mixed-case accented characters in 
  4395.         filenames, and 0x444F5303 (DOS/3), an international 
  4396.         version of the Fast File System.
  4397.  
  4398.           Baud=    
  4399.             Serial device speed (in bits per second).
  4400.  
  4401.               Control=  
  4402.             Serial device control parameters- word length, 
  4403.         parity, and stop bits (eg 8N1, 7E1).
  4404.  
  4405.           ForceLoad=
  4406.             A new 2.1 option. When this value is 0 (default), the 
  4407.         system will check the resource list to see if the file 
  4408.         system named in the entry has already been loaded. If it 
  4409.         has, the system will use that one, instead of loading a 
  4410.         new one.        
  4411.           
  4412.  
  4413.             Under 1.3 you can only MOUNT one device at a time 
  4414.         with one MOUNT command.
  4415.         
  4416.             The 2.x/3.x version of Mount allows you to mount any 
  4417.         number of devices with one Mount command, which can speed 
  4418.         up the startup-sequence somewhat.
  4419.  
  4420.  
  4421.      OPTIONS
  4422.           FROM
  4423.             This takes one argument, which should be a filename.  
  4424.         This filename will be used to obtain the Mountlist entry 
  4425.         for the device you are adding. If this keyword is not 
  4426.         used, the file DEVS:Mountlist will be used instead.
  4427.  
  4428.           STARTPROC
  4429.             Ordinarily, a mounted device will have its handler 
  4430.         loaded when it is first accessed, not when mounted.  This 
  4431.         switch allows you to override the default action, which 
  4432.         will load the handler at Mount time.  Reasons for doing 
  4433.         this could include having a few handlers on an alternate 
  4434.         disk that you don't want to keep in a drive for the 
  4435.         duration of your session.
  4436.  
  4437.     MOUNT KEYWORDS
  4438.         
  4439.     DEV
  4440.             The actual AmigaDOS device name, such as DF2:, DH0:, 
  4441.         or SER:.  This refers to either a hardware device like a 
  4442.         disk drive or serial port, or a logical device such as a 
  4443.         RAD or harddrive partition. The keyword must be the same 
  4444.         as the label given in the Mountlist entry. The device 
  4445.         mounted should also be available to the system. 
  4446.  
  4447.             In 1.3 you can only specify one device per command. 
  4448.         Under 2.x/3.x you can specify multiple devices with one 
  4449.         command call. Wildcards may be used when specifying 
  4450.         multiple devices.
  4451.  
  4452.     FROM
  4453.             Lets you specify a file other than DEVS:Mounlist as 
  4454.         the place to look for the description of the device being 
  4455.         MOUNTed.
  4456.  
  4457.      EXAMPLE
  4458.            1. Assuming you have a mountlist for a device named 
  4459.         FRANKIE:
  4460.  
  4461.                Mount FRANKIE:
  4462.  
  4463.       CAUTIONS
  4464.  
  4465.             Please note the following two differences between the 
  4466.         V2.x/3.x Mount and the Commodore V1.3 Mount, which can 
  4467.         cause problems in some cases if you are not aware of the 
  4468.         differences.
  4469.  
  4470.             If you want to reboot from RAD: using the 2.x/3.x 
  4471.         Mount, you must insert an explicit "BOOTPRI = 0" 
  4472.         statement into the mountlist entry for RAD:, as compared 
  4473.         with the Commodore Mount which automatically will reboot 
  4474.         from RAD:.
  4475.  
  4476.             If you have a "MASK = nnnnn" statement in your 
  4477.         mountlist, MAKE SURE THE MASK VALUE IS AN EVEN NUMBER.  
  4478.         The 1.3 Mount automatically converts the mask value to an 
  4479.         even value, but the 2.x/3.x Mount will pass through an 
  4480.         odd value which can cause problems.  You will probably 
  4481.         only have a "MASK=nnnnnn" statement if you have memory 
  4482.         that cannot be accessed by a DMA device, such as with a 
  4483.         RONIN 68020 card.
  4484.  
  4485.  
  4486. EnD Of PaRt OnE
  4487.  
  4488.  
  4489.